nixos: use correct username for systemd service
This commit is contained in:
parent
2f372ab4d6
commit
fbdb5beb59
|
@ -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