summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/per-user.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/3modules/per-user.nix')
-rw-r--r--krebs/3modules/per-user.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/krebs/3modules/per-user.nix b/krebs/3modules/per-user.nix
index 9cbd9e1ea..9080e3b44 100644
--- a/krebs/3modules/per-user.nix
+++ b/krebs/3modules/per-user.nix
@@ -17,9 +17,12 @@ in {
environment = {
etc = flip mapAttrs' cfg (name: { packages, ... }: {
name = "per-user/${name}";
- value.source = pkgs.symlinkJoin {
+ value.source = pkgs.buildEnv {
name = "per-user.${name}";
paths = packages;
+ pathsToLink = [
+ "/bin"
+ ];
};
});
profiles = ["/etc/per-user/$LOGNAME"];