Bash: Move bashrc to let-in.

This commit is contained in:
Dmitry Voronin 2025-01-20 11:49:40 +03:00
parent 2507ebb8c7
commit ed763db9ad
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -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