update alias to match chosen config
This commit is contained in:
parent
2873b1b739
commit
3ac491502a
4 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ hostname, config, pkgs, ...}:
|
||||
{ hostname, config, pkgs, host, ...}:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
cdnix = "cd ~/nixos-config && codium ~/nixos-config";
|
||||
ns = "nix-shell --run zsh";
|
||||
nix-shell = "nix-shell --run zsh";
|
||||
nix-switch = "sudo nixos-rebuild switch --flake ~/nixos-config#nixos";
|
||||
nix-switchu = "sudo nixos-rebuild switch --upgrade --flake ~/nixos-config#nixos";
|
||||
nix-switch = "sudo nixos-rebuild switch --flake ~/nixos-config#${host}";
|
||||
nix-switchu = "sudo nixos-rebuild switch --upgrade --flake ~/nixos-config#${host}";
|
||||
nix-flake-update = "sudo nix flake update ~/nixos-config#";
|
||||
nix-clean = "sudo nix-collect-garbage && sudo nix-collect-garbage -d && sudo rm /nix/var/nix/gcroots/auto/* && nix-collect-garbage && nix-collect-garbage -d";
|
||||
|
||||
|
|
|
|||
Reference in a new issue