mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
nixos: always run home-manager on NixOS activation (#5780)
Currently, the home-manager systemd service will only get restarted when the home-manager configuration changes. This can lead to issues in users' home directories not getting corrected for a while. $ rm ~/.zshrc $ sudo nixos-rebuild switch $ ls ~/.zshrc ls: cannot access '/home/enzime/.zshrc': No such file or directory
This commit is contained in:
parent
1d0862ee2d
commit
400e3c0152
1 changed files with 0 additions and 1 deletions
|
@ -48,7 +48,6 @@ in {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = usercfg.home.username;
|
User = usercfg.home.username;
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = "yes";
|
|
||||||
TimeoutStartSec = "5m";
|
TimeoutStartSec = "5m";
|
||||||
SyslogIdentifier = "hm-activate-${username}";
|
SyslogIdentifier = "hm-activate-${username}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue