This commit is contained in:
Tao Tien 2024-11-10 17:05:16 -08:00
parent 184fff9af7
commit 62b7e80869
2 changed files with 25 additions and 25 deletions

View file

@ -67,7 +67,7 @@ def nr [package] {
nix search nixpkgs $package
}
def rebuild --wrapped [subcommand, ...rest] {
if (open /etc/hostname == NOlaptop) {
if ((open /etc/hostname --raw) == NOlaptop) {
sudo nix store info --store ssh://nocomputer
}
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest