rebuild for phone
This commit is contained in:
parent
bf0acbb9d7
commit
57353c3da0
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
environment.packages = with pkgs; [
|
environment.packages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
|
hostname
|
||||||
zsh
|
zsh
|
||||||
fish
|
fish
|
||||||
font-awesome
|
font-awesome
|
||||||
|
|
|
@ -12,6 +12,8 @@ if echo "$hostname" | grep -q 'desktop'; then
|
||||||
sudo nixos-rebuild switch --flake ~/nix/#desktop
|
sudo nixos-rebuild switch --flake ~/nix/#desktop
|
||||||
elif echo "$hostname" | grep -q 'laptop'; then
|
elif echo "$hostname" | grep -q 'laptop'; then
|
||||||
sudo nixos-rebuild switch --flake ~/nix/#laptop
|
sudo nixos-rebuild switch --flake ~/nix/#laptop
|
||||||
|
elif echo "$hostname" | grep -q 'localhost'; then
|
||||||
|
nix-on-droid switch --flake ~/nix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$current_dir"
|
cd "$current_dir"
|
||||||
|
|
Loading…
Reference in a new issue