{
nix = {
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
optimise = {
automatic = true;
dates = [ "weekly" ];
};
settings = {
experimental-features = [
"nix-command"
"flakes"
];
keep-outputs = true;
keep-env-derivations = true;
keep-derivations = true;
trusted-users = [
"root"
"@wheel"
];
};
};
nixpkgs.config.allowUnfree = true;
}