Compare commits

..

2 commits

Author SHA1 Message Date
d2de276487
nushell: add cleaning alias
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-24 22:59:39 -04:00
1eb18e847b
nix: use nh for gc 2023-09-24 22:59:00 -04:00
2 changed files with 6 additions and 6 deletions

View file

@ -15,6 +15,7 @@ alias rm = rm -i
alias cp = cp -i
alias mv = mv -i
alias rebuild = nh os switch . --nom
alias clean = sudo nh clean all
alias sakura = nix run github:serokell/deploy-rs ".#sakura"
alias kariru = nix run github:serokell/deploy-rs ".#kariru"
alias yuki = nix run github:serokell/deploy-rs ".#yuki"

View file

@ -7,15 +7,14 @@ _: {
nh = {
enable = true;
clean.enable = true;
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep-since 3d --keep 5";
};
};
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
settings = {
extra-experimental-features = ["flakes" "nix-command"];
warn-dirty = false;