From cf2b6e2d642dffc5138b9b6996735da242844737 Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 9 Oct 2024 11:14:10 +0200 Subject: [PATCH] fix rebuild scit for server --- modules/apps/home/zsh/scripts/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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