1
0
Fork 0
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:
Robert Helgesson 2018-07-21 13:15:34 +02:00
parent d3871ed774
commit 9570cedff6
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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;