Compare commits
2 commits
46d71647a4
...
d2de276487
Author | SHA1 | Date | |
---|---|---|---|
d2de276487 | |||
1eb18e847b |
2 changed files with 6 additions and 6 deletions
|
@ -15,6 +15,7 @@ alias rm = rm -i
|
||||||
alias cp = cp -i
|
alias cp = cp -i
|
||||||
alias mv = mv -i
|
alias mv = mv -i
|
||||||
alias rebuild = nh os switch . --nom
|
alias rebuild = nh os switch . --nom
|
||||||
|
alias clean = sudo nh clean all
|
||||||
alias sakura = nix run github:serokell/deploy-rs ".#sakura"
|
alias sakura = nix run github:serokell/deploy-rs ".#sakura"
|
||||||
alias kariru = nix run github:serokell/deploy-rs ".#kariru"
|
alias kariru = nix run github:serokell/deploy-rs ".#kariru"
|
||||||
alias yuki = nix run github:serokell/deploy-rs ".#yuki"
|
alias yuki = nix run github:serokell/deploy-rs ".#yuki"
|
||||||
|
|
|
@ -7,15 +7,14 @@ _: {
|
||||||
|
|
||||||
nh = {
|
nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean = {
|
||||||
|
enable = true;
|
||||||
|
dates = "weekly";
|
||||||
|
extraArgs = "--keep-since 3d --keep 5";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "weekly";
|
|
||||||
options = "--delete-older-than 7d";
|
|
||||||
};
|
|
||||||
settings = {
|
settings = {
|
||||||
extra-experimental-features = ["flakes" "nix-command"];
|
extra-experimental-features = ["flakes" "nix-command"];
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
|
|
Loading…
Reference in a new issue