moved sudo request to top of nixclean and nixupdate

This commit is contained in:
2026-03-19 13:20:15 -05:00
parent 2105c339f7
commit 55e2ed9f99
2 changed files with 2 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
pkgs.writeShellScriptBin "nixclean" ''
set -Eeuo pipefail
nix-collect-garbage -d
sudo -v
nix-collect-garbage -d
sudo nix-collect-garbage -d
rebuild
''