summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/hosts.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2025-11-27 22:33:56 +0100
committertv <tv@krebsco.de>2025-11-27 22:33:56 +0100
commit03b2d5ef794e703156bdeadbb4806d279fc4322c (patch)
tree64f379e1cc6433aa8095628da9a4e8f31935eba0 /krebs/3modules/hosts.nix
parente1363dcb1df2a455700ac3e28045f34d63e4c465 (diff)
modules: use lib.slib if possilbe
Diffstat (limited to 'krebs/3modules/hosts.nix')
-rw-r--r--krebs/3modules/hosts.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/hosts.nix b/krebs/3modules/hosts.nix
index 2333d0a8d..51aeefb9f 100644
--- a/krebs/3modules/hosts.nix
+++ b/krebs/3modules/hosts.nix
@@ -3,7 +3,7 @@ with lib; let
check = hostname: any (domain: hasSuffix ".${domain}" hostname) domains;
domains = attrNames (filterAttrs (_: slib.eq "hosts") config.krebs.dns.providers);
# we need this import because we have infinite recursion otherwise
- slib = import ../../lib/pure.nix { inherit lib; };
+ slib = lib.slib or (import ../../lib/pure.nix { inherit lib; });
in {
options = {