mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-03 11:29:55 +01:00
chore: Fix remaining hardcoded user values
This commit is contained in:
parent
ae85377a72
commit
83314da967
@ -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" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user