diff --git a/modules/apps/home/zsh/scripts/rebuild.sh b/modules/apps/home/zsh/scripts/rebuild.sh index fec3d2f..cc69898 100755 --- a/modules/apps/home/zsh/scripts/rebuild.sh +++ b/modules/apps/home/zsh/scripts/rebuild.sh @@ -14,7 +14,7 @@ if echo "$hostname" | grep -q 'desktop'; then sudo nixos-rebuild switch --flake ~/nix/#desktop elif echo "$hostname" | grep -q 'laptop'; then 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 elif echo "$hostname" | grep -q 'localhost'; then nix-on-droid switch --flake ~/nix