Assert proper private usage of syncthing and filebrowser

This commit is contained in:
SebastianStork 2025-10-12 01:56:41 +02:00
parent 28d36e71a1
commit 9996a3370f
2 changed files with 12 additions and 1 deletions

View file

@ -45,7 +45,11 @@ in
}
{
assertion = cfg.doBackups -> cfg.isServer;
message = "Syncthing backups can only be performed on a server.";
message = "Syncthing backups should only be performed on a server.";
}
{
assertion = cfg.gui.domain |> lib.hasSuffix tailscaleCfg.domain;
message = "The syncthing gui isn't yet configured with access controll.";
}
];