nix/system/Nix.nix

19 lines
393 B
Nix
Raw Normal View History

2024-12-06 01:55:43 +03:00
{
inputs,
...
}: {
2024-11-04 04:37:29 +03:00
nixpkgs.config.allowUnfree = true;
2024-12-02 01:37:29 +03:00
nixpkgs.config.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying.
2024-12-06 01:55:43 +03:00
nix.registry.nixpkgs.flake = inputs.nixpkgs;
2024-11-04 04:37:29 +03:00
nix.settings = {
auto-optimise-store = true;
keep-derivations = true;
keep-outputs = true;
min-free = 1 * 1000 * 1000 * 1000;
experimental-features = [
"flakes"
2024-12-02 01:40:25 +03:00
"nix-command"
2024-11-04 04:37:29 +03:00
];
};
}