about summary refs log blame commit diff stats
path: root/home-manager/packages/scripts/small_functions/update
blob: 858dae7c50ece40ac43c44a5bc78b2ebcd8f52f7 (plain) (tree)
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 --rebase
nixos-rebuild switch