diff --git a/hosts/phone/default.nix b/hosts/phone/default.nix index cf5d79c..ba94964 100644 --- a/hosts/phone/default.nix +++ b/hosts/phone/default.nix @@ -1,6 +1,7 @@ {pkgs, ...}: { environment.packages = with pkgs; [ vim + hostname zsh fish font-awesome diff --git a/modules/apps/home/zsh/scripts/rebuild.sh b/modules/apps/home/zsh/scripts/rebuild.sh index 11d65a3..104d264 100755 --- a/modules/apps/home/zsh/scripts/rebuild.sh +++ b/modules/apps/home/zsh/scripts/rebuild.sh @@ -12,6 +12,8 @@ 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 "$hostname" | grep -q 'localhost'; then + nix-on-droid switch --flake ~/nix fi cd "$current_dir"