fix rebuild scit for server
This commit is contained in:
parent
bbbab50393
commit
cf2b6e2d64
|
@ -14,7 +14,7 @@ if echo "$hostname" | grep -q 'desktop'; then
|
||||||
sudo nixos-rebuild switch --flake ~/nix/#desktop
|
sudo nixos-rebuild switch --flake ~/nix/#desktop
|
||||||
elif echo "$hostname" | grep -q 'laptop'; then
|
elif echo "$hostname" | grep -q 'laptop'; then
|
||||||
sudo nixos-rebuild switch --flake ~/nix/#laptop
|
sudo nixos-rebuild switch --flake ~/nix/#laptop
|
||||||
elif echo "$server" | grep -q 'laptop'; then
|
elif echo "$hostname" | grep -q 'server'; then
|
||||||
sudo nixos-rebuild switch --flake ~/nix/#server
|
sudo nixos-rebuild switch --flake ~/nix/#server
|
||||||
elif echo "$hostname" | grep -q 'localhost'; then
|
elif echo "$hostname" | grep -q 'localhost'; then
|
||||||
nix-on-droid switch --flake ~/nix
|
nix-on-droid switch --flake ~/nix
|
||||||
|
|
Loading…
Reference in a new issue