mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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