cli: Move common shellAliases to home-manager equivalent config

This commit is contained in:
Alexander Kobjolke 2023-07-02 22:31:44 +02:00
parent 737d5a5877
commit 6c4a99eb78

View file

@ -17,6 +17,11 @@ in {
homeDirectory = "/home/${myUser}"; homeDirectory = "/home/${myUser}";
stateVersion = "21.05"; stateVersion = "21.05";
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ]; sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
shellAliases = {
e = "emacsclient -c $@";
ls = "exa $@";
t = "exa -T $@";
};
}; };
# do not show home-manager notifications # do not show home-manager notifications
@ -91,12 +96,6 @@ in {
''; '';
}; };
environment.shellAliases = {
e = "emacsclient -c $@";
ls = "exa $@";
t = "exa -T $@";
};
programs = { programs = {
bash = { enable = true; }; bash = { enable = true; };