mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Improve assertion messages
This commit is contained in:
parent
5492e51dd3
commit
86d0cb60d5
3 changed files with 4 additions and 4 deletions
|
|
@ -39,11 +39,11 @@ in
|
|||
assertions = [
|
||||
{
|
||||
assertion = tailscaleCfg.enable;
|
||||
message = "syncthing requires tailscale";
|
||||
message = "Syncthing requires tailscale.";
|
||||
}
|
||||
{
|
||||
assertion = cfg.doBackups -> cfg.isServer;
|
||||
message = "syncthing backups can only be performed on a server";
|
||||
message = "Syncthing backups can only be performed on a server.";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue