/etc/ashrc for interactive non-login shells

This commit is contained in:
Daniel Barlow 2023-05-21 17:08:32 +01:00
parent 0173a9ced9
commit bc27f121d9

View file

@ -146,13 +146,17 @@ in {
console = node "c" "5" "1" "0600";
pts = dir {};
};
etc = dir {
etc = let
profile = symlink
(pkgs.writeScript ".profile" ''
PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin
PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin
export PATH
'');
'');
in dir {
inherit profile;
ashrc = profile;
};
proc = dir {};
run = dir {};
sys = dir {};