liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bc27f121d984f7f294bf9a3768a1f866c7ef7f61
parent 0173a9ced9bc4e876b6607b7604c24bbedeb489c
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 21 May 2023 17:08:32 +0100

/etc/ashrc for interactive non-login shells

Diffstat:
Mmodules/base.nix | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/modules/base.nix b/modules/base.nix @@ -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 {};