nix-config/modules/nix/default.nix
2025-01-08 20:40:38 +01:00

25 lines
504 B
Nix

{ inputs, ... }: {
nix = {
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
};
nixpkgs = {
overlays = [
inputs.nur.overlays.default
inputs.niri.overlays.niri
inputs.nix-alien.overlays.default
];
config = {
allowUnfree = true;
};
};
}