NixOS-Config/modules/system/settings/nix/default.nix

20 lines
312 B
Nix
Raw Permalink Normal View History

{ ... }:
{
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 1w";
};
};
nixpkgs.config.allowUnfree = true;
}