nixos: use correct username for systemd service
(cherry picked from commit fbdb5beb59
)
This commit is contained in:
parent
1c3614cbc8
commit
fdb81a7ea0
|
@ -38,7 +38,7 @@ in
|
|||
after = [ "nix-daemon.socket" ];
|
||||
|
||||
serviceConfig = {
|
||||
User = username;
|
||||
User = usercfg.home.username;
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = "yes";
|
||||
SyslogIdentifier = "hm-activate-${username}";
|
||||
|
|
Loading…
Reference in a new issue