diff --git a/homes/modules/shell/zsh.nix b/homes/modules/shell/zsh.nix index 675395e..f1d5e47 100644 --- a/homes/modules/shell/zsh.nix +++ b/homes/modules/shell/zsh.nix @@ -59,11 +59,14 @@ in cdns = "cd /etc/nixos"; # cd to /etc/nixos and edit nix config # description: ns = nix settings - ns = "cdns && sudo -E -s $EDITOR"; + ns = "cdns && $EDITOR"; + + # NOTE: commands need --accept-flake-config as Cerulean uses + # experimental features # description: nrs = nix rebuild switch - nrs = "cdns && nh os switch /etc/nixos"; + switch = "cdns && nh os switch /etc/nixos --accept-flake-config"; # upgrades the system - upgrade = "cdns && sudo nix flake update && nh os switch /etc/nixos"; + upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config"; # kitty's ssh command (to fix xterm and other stuff qwq) kssh = "kitty +kitten ssh";