Updated nixos update; modified run to only include .sh files

This commit is contained in:
Random936
2025-12-01 15:14:03 -05:00
parent 283ef0417b
commit 0e65223381
2 changed files with 4 additions and 1 deletions

View File

@@ -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