This commit is contained in:
Tao Tien 2025-10-08 18:29:19 -07:00
parent f27aa8b65c
commit 35d2762ab1
12 changed files with 3054 additions and 20 deletions

View file

@ -19,9 +19,9 @@ def rebuild [subcommand, --builders: string] {
}
}
if ($builders == "") {
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --impure --verbose --builders "" --log-format internal-json o+e>| nom --json
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --accept-flake-config --impure --verbose --builders "" --log-format internal-json o+e>| nom --json
} else {
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --impure --verbose --log-format internal-json o+e>| nom --json
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --accept-flake-config --impure --verbose --log-format internal-json o+e>| nom --json
}
toastify send rebuild done!
}