/etc/ashrc for interactive non-login shells

module-based-network
Daniel Barlow 2023-05-21 17:08:32 +01:00
parent 0173a9ced9
commit bc27f121d9
1 changed files with 7 additions and 3 deletions

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 {};