1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 12:19:48 +01:00

nixos: use correct username for systemd service

This commit is contained in:
Ingolf Wanger 2019-02-08 19:58:26 +01:00 committed by Robert Helgesson
parent 2f372ab4d6
commit fbdb5beb59
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -38,7 +38,7 @@ in
after = [ "nix-daemon.socket" ];
serviceConfig = {
User = username;
User = usercfg.home.username;
Type = "oneshot";
RemainAfterExit = "yes";
SyslogIdentifier = "hm-activate-${username}";