mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +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
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sudo --validate
|
||||||
nix-shell --packages git --command $"sudo nixos-rebuild switch --impure --flake .#($machine) ($arguments | str join ' ')"
|
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