1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Authenticate sudo earlier on without the delay

This commit is contained in:
RGBCube 2023-11-14 09:24:57 +03:00
parent a4f428319f
commit 5a4f458903
No known key found for this signature in database

View file

@ -24,6 +24,7 @@ def main [
exit
}
sudo --validate
nix-shell --packages git --command $"sudo nixos-rebuild switch --impure --flake .#($machine) ($arguments | str join ' ')"
}