Sudo -> run0 alias

This commit is contained in:
Henry Hiles 2025-03-17 15:06:01 -04:00
parent 91a62a686d
commit f41698a4ec
4 changed files with 17 additions and 6 deletions

View file

@ -26,9 +26,9 @@
commit = "git commit -am";
# NixOS
garbage = "run0 nix-collect-garbage -d && nix-collect-garbage -d";
rebuild = "run0 nixos-rebuild switch --flake ~/.config/nixos/#";
update = "pushd ~/.config/nixos && nix flake update && rebuild && popd";
clean = "nh clean all";
rebuild = "nh os switch";
update = "pushd ~/.config/nixos && nix flake update && popd && rebuild";
};
};
users.defaultUserShell = pkgs.fish;