diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix index 4c9c8e1..0386d57 100644 --- a/modules/programs/fish.nix +++ b/modules/programs/fish.nix @@ -45,8 +45,9 @@ set EDITOR "neovide --no-fork" - alias rebuild='sudo nixos-rebuild switch --flake ${config.conf.nixos-config-path}' - alias update='sudo nixos-rebuild switch --flake ${config.conf.nixos-config-path}' + alias rebuild='nh os switch' + alias update='nix flake update $FLAKE' + alias updateLock='nix flake lock $FLAKE --update-input' abbr --add ls 'lsd' abbr --add :q 'exit' abbr --add gh 'git push origin'