rebuild for phone

This commit is contained in:
joy 2024-10-05 02:26:34 +02:00
parent bf0acbb9d7
commit 57353c3da0
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{pkgs, ...}: {
environment.packages = with pkgs; [
vim
hostname
zsh
fish
font-awesome

View file

@ -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"