Move and rename some stuff whatever
This commit is contained in:
parent
a0cc623c4b
commit
7c5ff0253e
38 changed files with 53 additions and 127 deletions
|
@ -6,6 +6,7 @@
|
|||
./git
|
||||
./ncmpcpp
|
||||
./neovim
|
||||
./nh
|
||||
./ranger
|
||||
./tmux
|
||||
./zsh
|
||||
|
|
7
modules/home/programs/terminal/nh/default.nix
Normal file
7
modules/home/programs/terminal/nh/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/etc/nixos";
|
||||
};
|
||||
}
|
|
@ -11,14 +11,14 @@
|
|||
};
|
||||
shellAliases = {
|
||||
# NixOS
|
||||
flakedate = "sudo nix flake update --flake /etc/nixos";
|
||||
nhs = "sudo nh os switch -R /etc/nixos";
|
||||
flakedate = "doas nix flake update --flake /etc/nixos";
|
||||
nhs = "doas nh os switch -R /etc/nixos";
|
||||
nhu = "flakedate && nhs";
|
||||
ns = "nix-shell -p";
|
||||
|
||||
nixclean = "sudo nix-store --gc; nix-collect-garbage -d";
|
||||
nixpurge = "sudo nix-collect-garbage --delete-old";
|
||||
nixoptimize = "sudo nix store optimise";
|
||||
nixclean = "doas nix-store --gc; nix-collect-garbage -d";
|
||||
nixpurge = "doas nix-collect-garbage --delete-old";
|
||||
nixoptimize = "doas nix store optimise";
|
||||
nixscrub = "nixclean; nixpurge; nixoptimize";
|
||||
|
||||
# Shortcuts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue