Enable factorio on toothless
This commit is contained in:
+16
-17
@@ -72,26 +72,25 @@ in {
|
||||
verbose = true;
|
||||
event-topics = cfg.event-topics;
|
||||
notification-topic = cfg.notification-topic;
|
||||
mqtt = let
|
||||
host-secrets =
|
||||
(trace hostname config.fudo.secrets.host-secrets."${hostname}");
|
||||
in {
|
||||
incoming = {
|
||||
port = config.fudo.services.mqtt.private.port;
|
||||
host = config.fudo.services.mqtt.mqtt-hostname;
|
||||
username = "snooper";
|
||||
password-file = host-secrets.snooper-passwd.target-file;
|
||||
mqtt =
|
||||
let host-secrets = config.fudo.secrets.host-secrets."${hostname}";
|
||||
in {
|
||||
incoming = {
|
||||
port = config.fudo.services.mqtt.private.port;
|
||||
host = config.fudo.services.mqtt.mqtt-hostname;
|
||||
username = "snooper";
|
||||
password-file = host-secrets.snooper-passwd.target-file;
|
||||
};
|
||||
outgoing = {
|
||||
port = config.fudo.services.mqtt.public.port;
|
||||
host = config.fudo.services.mqtt.mqtt-hostname;
|
||||
username = "snooper";
|
||||
password-file = host-secrets.snooper-passwd.target-file;
|
||||
};
|
||||
};
|
||||
outgoing = {
|
||||
port = config.fudo.services.mqtt.public.port;
|
||||
host = config.fudo.services.mqtt.mqtt-hostname;
|
||||
username = "snooper";
|
||||
password-file = host-secrets.snooper-passwd.target-file;
|
||||
};
|
||||
};
|
||||
};
|
||||
tattler = mkIf cfg.enable-notifications {
|
||||
enable = true;
|
||||
enable = false;
|
||||
verbose = true;
|
||||
notification-topic = cfg.notification-topic;
|
||||
mqtt = {
|
||||
|
||||
Reference in New Issue
Block a user