niksos/options/common/nix.nix

23 lines
468 B
Nix
Raw Normal View History

{
config,
2024-05-30 19:29:34 +02:00
pkgs,
...
}: {
2024-05-30 19:29:34 +02:00
nix = {
package = pkgs.nixVersions.latest;
settings = {
experimental-features = [
"flakes"
"nix-command"
];
trusted-users = [
"root"
2024-07-15 23:18:25 +02:00
config.poz.other.system.username
2024-05-30 19:29:34 +02:00
];
auto-optimise-store = true;
keep-outputs = true;
keep-derivations = true;
};
};
}