mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Add bash aliases
This commit is contained in:
parent
bb4e9b94c5
commit
b92eef7b78
1 changed files with 7 additions and 0 deletions
|
@ -68,6 +68,13 @@
|
|||
neofetch
|
||||
];
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
shellAliases = {
|
||||
generations = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
|
||||
nix-upgrade = "sudo nixos-rebuild switch --upgrade";
|
||||
};
|
||||
};
|
||||
|
||||
# Allow Unfree
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue