mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/homer: fix module rename
This commit is contained in:
parent
dbc41c2b94
commit
c82d8feee1
1 changed files with 3 additions and 3 deletions
|
@ -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}/" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue