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
1 changed files with 1 additions and 1 deletions

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}";