niksos/options/common/nix.nix
2024-08-06 17:46:57 +02:00

22 lines
468 B
Nix

{
config,
pkgs,
...
}: {
nix = {
package = pkgs.nixVersions.latest;
settings = {
experimental-features = [
"flakes"
"nix-command"
];
trusted-users = [
"root"
config.poz.other.system.username
];
auto-optimise-store = true;
keep-outputs = true;
keep-derivations = true;
};
};
}