24 lines
534 B
Nix
24 lines
534 B
Nix
{inputs, ...}: {
|
|
flake.nixosModules.nix = {...}: {
|
|
nix = {
|
|
settings = {
|
|
cores = 6;
|
|
trusted-users = ["root" "ahmza"];
|
|
download-buffer-size = 524288000;
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
|
optimise.automatic = true;
|
|
gc = {
|
|
automatic = true;
|
|
dates = "daily";
|
|
options = "--delete-older-than 5d";
|
|
};
|
|
};
|
|
nixpkgs.config.allowUnfree = true;
|
|
};
|
|
}
|