rebuild for phone
This commit is contained in:
parent
bf0acbb9d7
commit
57353c3da0
|
@ -1,6 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
environment.packages = with pkgs; [
|
||||
vim
|
||||
hostname
|
||||
zsh
|
||||
fish
|
||||
font-awesome
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue