Weekly garbage collection

This commit is contained in:
2023-11-20 14:53:36 +00:00
parent 07362a0c81
commit d78db40991
2 changed files with 32 additions and 14 deletions

View File

@ -46,7 +46,8 @@ with lib.my;
neovim
];
nix.settings = {
nix = {
settings = {
connect-timeout = 5;
log-lines = 25;
min-free = 128000000;
@ -61,6 +62,12 @@ with lib.my;
"odyssey.mesh.vimium.net:ZhQhjscPWjoN4rlZwoMELznEiBnZ9O26iyGA27ibilQ="
];
};
gc = {
automatic = true;
dates = "weekly";
options = "-d --delete-older-than 7d";
};
};
modules.desktop.gnome.enable = true;
modules.networking.tailscale.enable = true;

View File

@ -34,6 +34,17 @@ with lib.my;
neovim
];
nix = {
settings = {
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "-d --delete-older-than 7d";
};
};
modules.networking.tailscale = {
enable = true;
restrictSSH = false;