mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
nixos: use correct username for systemd service
This commit is contained in:
parent
2f372ab4d6
commit
fbdb5beb59
1 changed files with 1 additions and 1 deletions
|
@ -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