mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
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 = {
|
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" { };
|
package = mkPackageOption pkgs "scrutiny-collector" { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user