service/homer: fix module rename

This commit is contained in:
Felix Buehler 2023-11-12 20:44:29 +01:00
parent dbc41c2b94
commit c82d8feee1

View file

@ -37,10 +37,10 @@
type = lib.types.attrsOf type = lib.types.attrsOf
(lib.types.submodule { (lib.types.submodule {
options = { options = {
dashboard.link = lib.mkOption { dashboard.url = lib.mkOption {
type = lib.types.nullOr lib.types.str; type = lib.types.nullOr lib.types.str;
description = '' description = ''
Link to webapp Url to webapp
''; '';
example = "http://192.168.1.10:1234"; example = "http://192.168.1.10:1234";
default = null; default = null;
@ -121,6 +121,6 @@
}); });
} }
); );
my.services.blackbox.http_endpoints = lib.mapAttrsToList (_key: value: value.dashboard.link) config.webapps.apps ++ [ "https://${config.networking.domain}/" ]; my.services.blackbox.http_endpoints = lib.mapAttrsToList (_key: value: value.dashboard.url) config.webapps.apps ++ [ "https://${config.networking.domain}/" ];
}; };
} }