nixos module: we need a running nix-daemon
Make sure the nix-daemon is prepared before we attempt to do the user activation otherwise the script may fail due to not being able to communicate.
This commit is contained in:
parent
d3871ed774
commit
9570cedff6
|
@ -36,6 +36,8 @@ in
|
|||
nameValuePair ("home-manager-${utils.escapeSystemdPath username}") {
|
||||
description = "Home Manager environment for ${username}";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "nix-daemon.socket" ];
|
||||
after = [ "nix-daemon.socket" ];
|
||||
|
||||
serviceConfig = {
|
||||
User = username;
|
||||
|
|
Loading…
Reference in a new issue