mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Assert proper private usage of syncthing and filebrowser
This commit is contained in:
parent
28d36e71a1
commit
9996a3370f
2 changed files with 12 additions and 1 deletions
|
|
@ -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.";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue