1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02: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}";