/etc/ashrc for interactive non-login shells
This commit is contained in:
parent
0173a9ced9
commit
bc27f121d9
1 changed files with 7 additions and 3 deletions
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue