niksos/hosts/common/core/nix.nix

28 lines
674 B
Nix

{
config,
pkgs,
...
}: {
nix = {
package = pkgs.nixVersions.latest;
settings = {
experimental-features = [
"flakes"
"nix-command"
"pipe-operators"
"no-url-literals"
];
trusted-users = [
"root"
config.poz.other.system.username
];
auto-optimise-store = true;
keep-outputs = true;
keep-derivations = true;
use-xdg-base-directories = true;
connect-timeout = 5;
fallback = true;
warn-dirty = false;
};
};
}