From d06f324fec112d7576dbd96367670fdbb5ffbbce Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 25 Dec 2022 12:26:00 +0100 Subject: [PATCH] service/homer: add method option --- modules/services/homer/config.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/services/homer/config.nix b/modules/services/homer/config.nix index c59ceba..5504b77 100644 --- a/modules/services/homer/config.nix +++ b/modules/services/homer/config.nix @@ -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; }); } );