Implement global custom libs as a flake output

This commit is contained in:
SebastianStork 2025-10-17 10:57:32 +02:00
parent f276848b18
commit 671a13239a
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
10 changed files with 40 additions and 31 deletions

View file

@ -1,6 +1,7 @@
{
config,
lib,
lib',
...
}:
let
@ -24,7 +25,7 @@ in
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = lib.custom.isTailscaleDomain cfg.domain;
assertion = lib'.isTailscaleDomain cfg.domain;
message = "FreshRSS isn't configured with access controll.";
}
];