Replace lib' with self.lib

This commit is contained in:
SebastianStork 2026-01-16 14:09:34 +01:00
parent 07c46beefb
commit 8ba17ac1ce
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
10 changed files with 25 additions and 31 deletions

View file

@ -1,7 +1,7 @@
{
config,
self,
lib,
lib',
...
}:
let
@ -25,8 +25,8 @@ in
config = lib.mkIf cfg.enable {
assertions = lib.singleton {
assertion = lib'.isPrivateDomain cfg.domain;
message = lib'.mkUnprotectedMessage "Filebrowser";
assertion = self.lib.isPrivateDomain cfg.domain;
message = self.lib.mkUnprotectedMessage "Filebrowser";
};
meta = {

View file

@ -1,7 +1,7 @@
{
config,
self,
lib,
lib',
...
}:
let
@ -25,8 +25,8 @@ in
config = lib.mkIf cfg.enable {
assertions = lib.singleton {
assertion = lib'.isPrivateDomain cfg.domain;
message = lib'.mkUnprotectedMessage "FreshRSS";
assertion = self.lib.isPrivateDomain cfg.domain;
message = self.lib.mkUnprotectedMessage "FreshRSS";
};
meta = {

View file

@ -2,7 +2,6 @@
config,
self,
lib,
lib',
...
}:
let
@ -184,7 +183,7 @@ in
|> lib.filter (domain: domain != cfg.domain)
|> lib.map (
domain:
lib.nameValuePair (lib'.subdomainOf domain) {
lib.nameValuePair (self.lib.subdomainOf domain) {
inherit domain;
group = hostName;
}