Fix rebuild sudo

This commit is contained in:
muon 2024-05-25 11:58:48 +00:00
parent b82d276574
commit 4965d60720
2 changed files with 3 additions and 3 deletions

View file

@ -96,8 +96,8 @@
};
shellAliases = with pkgs; with lib; {
rebuild = "doas nix-store --verify; pushd ~/.config/dotfiles && doas nixos-rebuild switch --flake .# && notify-send \"Done\" && bat cache --build; popd";
update = "doas nix-store --verify; pushd ~/.config/dotfiles && nix flake udpate && doas nixos-rebuild switch --upgrade-all --flake .# && notify-send \"Done\" && bat cache --build; popd";
rebuild = "doas nix-store --verify; pushd ~/.config/dotfiles && nixos-rebuild switch --flake .# --use-remote-sudo && notify-send \"Done\" && bat cache --build; popd";
update = "doas nix-store --verify; pushd ~/.config/dotfiles && nix flake udpate && nixos-rebuild switch --upgrade-all --flake .# --use-remote-sudo && notify-send \"Done\" && bat cache --build; popd";
cleanup = "doas nix-collect-garbage --delete-older-than 7d";
bloat = "nix path-info -Sh /run/current-system";
cat = "${getExe bat} --style=plain";