amd bug workaround
This commit is contained in:
parent
87a979df25
commit
231034ac69
3 changed files with 3 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ def nr [package] {
|
|||
nix search nixpkgs $package
|
||||
}
|
||||
def rebuild --wrapped [subcommand, ...rest] {
|
||||
if ((open /etc/hostname --raw) == "NOlaptop\n") {
|
||||
if ((open /etc/hostname --raw) == "NOlaptop\n" and not ($rest | first | str starts-with "--builders")) {
|
||||
sudo nix store info --store ssh://nocomputer
|
||||
}
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue