Updated nixos update script to update git submodules
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
update() {
|
update() {
|
||||||
cd ~/dotfiles
|
cd ~/dotfiles
|
||||||
git pull
|
git pull
|
||||||
|
git submodule update
|
||||||
sudo nixos-rebuild switch --flake ~/dotfiles
|
sudo nixos-rebuild switch --flake ~/dotfiles
|
||||||
home-manager switch --flake ~/dotfiles
|
home-manager switch --flake ~/dotfiles
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user