12 lines
350 B
Bash
Executable file
12 lines
350 B
Bash
Executable file
#!/bin/bash
|
|
pushd ~/.dotfiles
|
|
printf "Updating \033[38;5;87mdevenv\033[0m \n"
|
|
nix flake update
|
|
pushd ./nix/home-manager
|
|
printf "Updating \033[38;5;87mhome-manager\033[0m\n"
|
|
nix flake update
|
|
if [[ $(uname) == "Darwin" ]]; then
|
|
home-manager switch --flake ".#aarch64-darwin-acicchetti"
|
|
else
|
|
home-manager switch --flake '.#x86_64-linux-acicchetti'
|
|
fi
|