Bash: Move bashrc to let-in.
This commit is contained in:
parent
2507ebb8c7
commit
ed763db9ad
|
@ -28,9 +28,6 @@ let
|
||||||
tgdatasilent
|
tgdatasilent
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit modulesFile;
|
|
||||||
|
|
||||||
bashrc =
|
bashrc =
|
||||||
(builtins.readFile modulesFile)
|
(builtins.readFile modulesFile)
|
||||||
|
@ -50,7 +47,9 @@ in
|
||||||
exec sway
|
exec sway
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit modulesFile bashrc;
|
||||||
# bash_profile = ''
|
# bash_profile = ''
|
||||||
# # Home manager.
|
# # Home manager.
|
||||||
# [ -e ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh
|
# [ -e ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
|
Loading…
Reference in a new issue