Evie Litherland-Smith
763a1d2a05
Place home-manager config under home directory, move system config under system directory. Add hostname-specific entries under home directory to be consistent with how system is configured, update flake accordingly
15 lines
316 B
Bash
15 lines
316 B
Bash
NIXOS_CONFIGURATION="/etc/nixos"
|
|
HOME_MANAGER_CONFIGURATION="$HOME/.config/home-manager"
|
|
|
|
(
|
|
cd "$NIXOS_CONFIGURATION" || exit 1
|
|
git pull --ff --ff-only || exit 1
|
|
sudo nixos-rebuild switch
|
|
)
|
|
|
|
(
|
|
cd "$HOME_MANAGER_CONFIGURATION" || exit 1
|
|
git pull --ff --ff-only || exit 1
|
|
home-manager switch
|
|
)
|