feat(hosts): adding the nix-gc and increase the download-buff

This commit is contained in:
Raphael 2025-12-04 00:15:34 +01:00
parent b239890c0c
commit 0db03f2815
No known key found for this signature in database

View file

@ -55,12 +55,21 @@
nixpkgs.config.allowUnfree = true;
nix.settings = {
download-buffer-size = 1048576;
experimental-features = [
"nix-command"
"flakes"
];
nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
};
settings = {
download-buffer-size = 268435456;
experimental-features = [
"nix-command"
"flakes"
];
max-jobs = "auto";
auto-optimise-store = true;
};
};
environment.variables.AGE_KEY_FILE = "/root/.config/age/keys.txt";