nix/system/Nix.nix

20 lines
413 B
Nix

{
inputs,
...
}: {
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying.
nix.registry.nixpkgs.flake = inputs.nixpkgs;
nix.settings = {
auto-optimise-store = true;
keep-derivations = true;
keep-outputs = true;
min-free = 1 * 1000 * 1000 * 1000;
experimental-features = [
"flakes"
"nix-command"
"pipe-operators"
];
};
}