From ed763db9ad6d37f92d0a1e4a3f87cb0375275cbf Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 20 Jan 2025 11:49:40 +0300 Subject: [PATCH] Bash: Move bashrc to let-in. --- home/program/bash/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/home/program/bash/default.nix b/home/program/bash/default.nix index 2b78650..eb56a4b 100644 --- a/home/program/bash/default.nix +++ b/home/program/bash/default.nix @@ -28,9 +28,6 @@ let tgdatasilent ; }; -in -{ - inherit modulesFile; bashrc = (builtins.readFile modulesFile) @@ -50,7 +47,9 @@ in exec sway fi ''; - +in +{ + inherit modulesFile bashrc; # bash_profile = '' # # Home manager. # [ -e ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh