mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
parent
5f6364fc28
commit
7c19bcb822
1 changed files with 2 additions and 5 deletions
|
@ -144,11 +144,8 @@ in {
|
||||||
|
|
||||||
# The activation script is run by a login shell to make sure
|
# The activation script is run by a login shell to make sure
|
||||||
# that the user is given a sane Nix environment.
|
# that the user is given a sane Nix environment.
|
||||||
ExecStart = pkgs.writeScript "activate-${username}" ''
|
ExecStart =
|
||||||
#! ${pkgs.runtimeShell} -el
|
"${pkgs.runtimeShell} -l ${usercfg.home.activationPackage}/activate";
|
||||||
echo Activating home-manager configuration for ${username}
|
|
||||||
exec ${usercfg.home.activationPackage}/activate
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}) cfg.users;
|
}) cfg.users;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue