simplify enable opts, and fix security.nix
This commit is contained in:
parent
06b42a1aa6
commit
5d5cd7979c
10 changed files with 34 additions and 40 deletions
|
@ -5,10 +5,7 @@ let
|
|||
cfg = config.modules.services.metrics;
|
||||
in {
|
||||
options.modules.services.metrics = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
enable = mkEnableOption "enable grafana with loki, prometheus, and promtail";
|
||||
domain = mkOption {
|
||||
type = types.str;
|
||||
default = "grafana.reidlab.online";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue