service/homer: add method option

This commit is contained in:
Felix Buehler 2022-12-25 12:26:00 +01:00
parent 3d2575f82c
commit d06f324fec

View file

@ -77,6 +77,14 @@
example = "Ping";
default = "Ping";
};
dashboard.method = lib.mkOption {
type = lib.types.enum [ "get" "head" ];
description = ''
method of request used
'';
example = "get";
default = "head";
};
};
});
description = ''
@ -112,7 +120,7 @@
url = a.dashboard.link;
target = "_blank";
type = a.dashboard.type;
method = "head";
method = a.dashboard.method;
});
}
);