mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: clean up after tewi
This commit is contained in:
parent
166b68492b
commit
47d1036c42
4 changed files with 17 additions and 9 deletions
|
|
@ -10,8 +10,9 @@ in {
|
|||
enable = mkDefault true;
|
||||
user = mkDefault "root";
|
||||
mqtt = {
|
||||
url = mkIf config.services.mosquitto.enable (
|
||||
mkDefault "tcp://localhost:1883"
|
||||
url = mkDefault (if config.services.mosquitto.enable
|
||||
then "tcp://localhost:1883"
|
||||
else "tcp://mqtt.local.${config.networking.domain}:1883"
|
||||
);
|
||||
username = mkDefault "systemd";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue