{ config, lib, ... }: with lib; { options = { confctl = { buildGenerations = { min = mkOption { type = types.int; default = 5; description = '' The minimum number of build generations to be kept. This is the default value, which can be overriden per host. ''; }; max = mkOption { type = types.int; default = 30; description = '' The maximum number of build generations to be kept. This is the default value, which can be overriden per host. ''; }; maxAge = mkOption { type = types.int; default = 180*24*60*60; description = '' Delete build generations older than seconds. Old generations are deleted even if is not reached. This is the default value, which can be overriden per host. ''; }; }; hostGenerations = { min = mkOption { type = types.int; default = 5; description = '' The minimum number of generations to be kept on machines. This is the default value, which can be overriden per host. ''; }; max = mkOption { type = types.int; default = 30; description = '' The maximum number of generations to be kept on machines. This is the default value, which can be overriden per host. ''; }; maxAge = mkOption { type = types.int; default = 180*24*60*60; description = '' Delete generations older than seconds from machines. Old generations are deleted even if is not reached. This is the default value, which can be overriden per host. ''; }; collectGarbage = mkOption { type = types.bool; default = true; description = "Run nix-collect-garbage"; }; }; }; }; }