niksos/options/common/nix.nix

23 lines
474 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"
config.myOptions.other.system.username
];
auto-optimise-store = true;
keep-outputs = true;
keep-derivations = true;
};
};
}