nixos/scrutiny: enable collector by default if scrutiny is enabled (#329069)
This commit is contained in:
parent
19bc619c1c
commit
a5eaa1df10
@ -110,7 +110,10 @@ in
|
||||
};
|
||||
|
||||
collector = {
|
||||
enable = mkEnableOption "the Scrutiny metrics collector";
|
||||
enable = mkEnableOption "the Scrutiny metrics collector" // {
|
||||
default = cfg.enable;
|
||||
defaultText = lib.literalExpression "config.services.scrutiny.enable";
|
||||
};
|
||||
|
||||
package = mkPackageOption pkgs "scrutiny-collector" { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user