nix/system/Nix.nix

18 lines
433 B
Nix
Raw Normal View History

{ inputs, ... }:
2024-12-06 01:55:43 +03:00
{
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"
];
};
}