mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
nixos: use correct username for systemd service
(cherry picked from commit fbdb5beb59)
This commit is contained in:
committed by
Robert Helgesson
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}";
|
||||
|
||||
Reference in New Issue
Block a user