mirror of https://gitlab.crans.org/nounous/nixos
gatus module update
parent
c02f0888b8
commit
f30f15081e
|
|
@ -36,8 +36,8 @@ in
|
|||
ui.logo = ../../../assets/logo_crans_dark.png ;
|
||||
ui.favicon.default = ../../../assets/logo_crans_dark.png ;
|
||||
ui.link = "https://crans.org";
|
||||
storage.type = "sqlite";
|
||||
storage.path = "gatus.db";
|
||||
storage.type = "memory";
|
||||
#storage.path = "gatus.db";
|
||||
endpoints = config.crans.gatus.endpoints;
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,11 +3,9 @@ let
|
|||
cfg = config.crans.gatus;
|
||||
in
|
||||
{
|
||||
options.crans.gatus = {
|
||||
endpoints = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.attrs;
|
||||
options.crans.gatus.endpoints = lib.mkOption {
|
||||
type = lib.types.listOf (lib.types.attrsOf lib.types.anything);
|
||||
default = [ ];
|
||||
description = "List of Gatus endpoints to monitor.";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue