mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 21:53:18 +00: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 = {
|
||||
User = usercfg.home.username;
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = "yes";
|
||||
TimeoutStartSec = "5m";
|
||||
SyslogIdentifier = "hm-activate-${username}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue