mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Implement global custom libs as a flake output
This commit is contained in:
parent
f276848b18
commit
671a13239a
10 changed files with 40 additions and 31 deletions
|
|
@ -3,6 +3,7 @@
|
|||
modulesPath,
|
||||
inputs,
|
||||
lib,
|
||||
lib',
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -29,7 +30,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = lib.custom.isTailscaleDomain cfg.domain;
|
||||
assertion = lib'.isTailscaleDomain cfg.domain;
|
||||
message = "Filebrowser isn't yet configured with access controll.";
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue