niksos/hosts/common/core/nix.nix

29 lines
674 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;
2024-05-30 19:29:34 +02:00
settings = {
experimental-features = [
"flakes"
"nix-command"
2024-10-03 17:11:22 +02:00
"pipe-operators"
2024-10-03 17:23:07 +02:00
"no-url-literals"
2024-05-30 19:29:34 +02:00
];
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;
2024-10-03 17:28:36 +02:00
use-xdg-base-directories = true;
connect-timeout = 5;
fallback = true;
warn-dirty = false;
2024-05-30 19:29:34 +02:00
};
};
}