Updated nixos update; modified run to only include .sh files
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
update() {
|
||||
cd ~/dotfiles
|
||||
git pull
|
||||
git submodule init
|
||||
git submodule update
|
||||
sudo nixos-rebuild switch --flake ~/dotfiles
|
||||
home-manager switch --flake ~/dotfiles
|
||||
|
||||
Reference in New Issue
Block a user