14 lines
198 B
Nix
14 lines
198 B
Nix
|
{
|
||
|
config,
|
||
|
pkgs,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
cfg = config.pub-solar.home-controller;
|
||
|
in {
|
||
|
pub-solar.monitoring-client = lib.mkIf cfg.enable {
|
||
|
enable = true;
|
||
|
listenAddress = cfg.ownIp;
|
||
|
};
|
||
|
}
|