about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions/update
blob: 453e8bc8d678dea9c95b4bfde7fa75805db15a47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env dash
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. %SHELL_LIBRARY_PATH

cd /etc/nixos
git pull
nixos-rebuild switch