chore: Fix remaining hardcoded user values

This commit is contained in:
Donovan Glover 2024-04-05 08:20:10 -04:00
parent ae85377a72
commit 83314da967
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -41,7 +41,7 @@ let
in in
{ {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /run/user/1000 0700 user users -" "d /run/user/1000 0700 ${username} users -"
]; ];
containers.wine = template // { containers.wine = template // {
@ -84,7 +84,7 @@ in
]; ];
serviceConfig = { serviceConfig = {
ExecStart = "/usr/bin/env su user --command=${sakaya.packages.${pkgs.system}.sakaya}/bin/sakaya"; ExecStart = "/usr/bin/env su ${username} --command=${sakaya.packages.${pkgs.system}.sakaya}/bin/sakaya";
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];