Weekly garbage collection
This commit is contained in:
@ -46,20 +46,27 @@ with lib.my;
|
|||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings = {
|
nix = {
|
||||||
connect-timeout = 5;
|
settings = {
|
||||||
log-lines = 25;
|
connect-timeout = 5;
|
||||||
min-free = 128000000;
|
log-lines = 25;
|
||||||
max-free = 1000000000;
|
min-free = 128000000;
|
||||||
fallback = true;
|
max-free = 1000000000;
|
||||||
auto-optimise-store = true;
|
fallback = true;
|
||||||
substituters = [
|
auto-optimise-store = true;
|
||||||
"http://odyssey.mesh.vimium.net"
|
substituters = [
|
||||||
"https://cache.nixos.org"
|
"http://odyssey.mesh.vimium.net"
|
||||||
];
|
"https://cache.nixos.org"
|
||||||
trusted-public-keys = [
|
];
|
||||||
"odyssey.mesh.vimium.net:ZhQhjscPWjoN4rlZwoMELznEiBnZ9O26iyGA27ibilQ="
|
trusted-public-keys = [
|
||||||
];
|
"odyssey.mesh.vimium.net:ZhQhjscPWjoN4rlZwoMELznEiBnZ9O26iyGA27ibilQ="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "-d --delete-older-than 7d";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
modules.desktop.gnome.enable = true;
|
modules.desktop.gnome.enable = true;
|
||||||
|
@ -34,6 +34,17 @@ with lib.my;
|
|||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
};
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "-d --delete-older-than 7d";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
modules.networking.tailscale = {
|
modules.networking.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
restrictSSH = false;
|
restrictSSH = false;
|
||||||
|
Reference in New Issue
Block a user