Improve domain conflict messages by setting domains per service

This commit is contained in:
SebastianStork 2025-07-05 20:41:55 +02:00
parent 44520b3cd2
commit 56b28f055d
9 changed files with 36 additions and 15 deletions

View file

@ -45,10 +45,13 @@ in
}
];
meta.ports.list = [
cfg.syncPort
cfg.gui.port
];
meta = {
domains.list = lib.mkIf cfg.isServer [ cfg.gui.domain ];
ports.list = [
cfg.syncPort
cfg.gui.port
];
};
services.syncthing = {
enable = true;