Move the shellAliases
This commit is contained in:
parent
9f9906ea0b
commit
ac6b88d999
|
@ -8,7 +8,21 @@
|
|||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
||||
rebuild = ''
|
||||
nixos-rebuild -j auto switch --use-remote-sudo
|
||||
'';
|
||||
htop = "btm";
|
||||
find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort | grep '/home/'";
|
||||
vm = "vim";
|
||||
less = "less -FiRX";
|
||||
ls = "ls -lhF --color=auto";
|
||||
btm = "btm --color default-light";
|
||||
};
|
||||
};
|
||||
home-manager.enable = true;
|
||||
vim = {
|
||||
enable = true;
|
||||
|
@ -55,18 +69,5 @@
|
|||
HISTTIMEFORMAT = "%F %T ";
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
||||
rebuild = ''
|
||||
nixos-rebuild -j auto switch --use-remote-sudo
|
||||
'';
|
||||
htop = "btm";
|
||||
find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort | grep '/home/'";
|
||||
vm = "vim";
|
||||
less = "less -FiRX";
|
||||
ls = "ls -lhF";
|
||||
btm = "btm --color default-light";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue