This commit is contained in:
Steph 2024-12-10 15:05:15 +01:00
parent 8d8bb26d7f
commit c01d74dde1

View File

@ -46,6 +46,7 @@
tolower = "tr [:upper:] [:lower:]";
rebuild = if (os == "linux") then ''
cd $HOME/.local/os &&
git pull &&
nix flake update --commit-lock-file &&
nixos-rebuild switch --flake "path:$HOME/.local/os#" --use-remote-sudo &&
git add . &&
@ -54,6 +55,7 @@
cd -
'' else ''
cd $HOME/.local/os &&
git pull &&
nix flake update --commit-lock-file &&
home-manager switch &&
git add . &&