1
Fork 0
nixos-system-config/systems/common.nix

21 lines
412 B
Nix
Raw Normal View History

2023-06-18 22:52:24 +02:00
# Common configuration for all systems
2023-06-24 20:56:54 +02:00
{ ... }:
2023-06-18 22:52:24 +02:00
{
nix = {
settings.auto-optimise-store = true;
# Clean generations older than a week
gc = {
automatic = false; # Flip this to do it automatically
dates = "weekly";
options = "--delete-older-than 7d";
};
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.05";
}