This commit is contained in:
Steph 2025-01-14 23:01:59 +01:00
parent 9d1409dbd2
commit 730e9c20a8

View File

@ -51,6 +51,8 @@
toupper = "tr [:lower:] [:upper:]";
tolower = "tr [:upper:] [:lower:]";
rebuild = if (os == "linux") then ''
sudo nix-collect-garbage --delete-older-than 30d &&
sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +10 &&
cd $HOME/.local/os &&
git pull &&
nix flake update --commit-lock-file &&
@ -60,6 +62,7 @@
git push &&
cd -
'' else ''
nix-collect-garbage --delete-older-than 30d &&
cd $HOME/.local/os &&
git pull &&
nix flake update --commit-lock-file &&