mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Add custom isTailscaleDomain lib
This commit is contained in:
parent
589b76d745
commit
f3ea2b75e6
6 changed files with 15 additions and 11 deletions
|
|
@ -29,7 +29,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.domain |> lib.hasSuffix config.custom.services.tailscale.domain;
|
||||
assertion = lib.custom.isTailscaleDomain cfg.domain;
|
||||
message = "Filebrowser isn't yet configured with access controll.";
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue