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:
parent
a4f428319f
commit
5a4f458903
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ def main [
|
|||
exit
|
||||
}
|
||||
|
||||
sudo --validate
|
||||
nix-shell --packages git --command $"sudo nixos-rebuild switch --impure --flake .#($machine) ($arguments | str join ' ')"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue