feat(hosts): adding the nix-gc and increase the download-buff
This commit is contained in:
parent
b239890c0c
commit
0db03f2815
1 changed files with 15 additions and 6 deletions
|
|
@ -55,12 +55,21 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix = {
|
||||||
download-buffer-size = 1048576;
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "daily";
|
||||||
|
options = "--delete-older-than 14d";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
download-buffer-size = 268435456;
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
max-jobs = "auto";
|
||||||
|
auto-optimise-store = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.AGE_KEY_FILE = "/root/.config/age/keys.txt";
|
environment.variables.AGE_KEY_FILE = "/root/.config/age/keys.txt";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue