From 9cc3eea82d60dc5ed9f4de7c15d63ee162e639fb Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 10 Jun 2023 12:50:53 +0200 Subject: init flake.nix --- kartei/feliks/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kartei/feliks') diff --git a/kartei/feliks/default.nix b/kartei/feliks/default.nix index e98da7bc6..9f7f59164 100644 --- a/kartei/feliks/default.nix +++ b/kartei/feliks/default.nix @@ -1,5 +1,5 @@ -with import ../../lib; -{ config, ... }: let +{ config, lib, stockholm, ... }: +with lib; let hostDefaults = hostName: host: flip recursiveUpdate host ({ owner = config.krebs.users.feliks; ci = false; @@ -7,10 +7,10 @@ with import ../../lib; monitoring = false; } // optionalAttrs (host.nets?retiolum) { nets.retiolum.ip6.addr = - (krebs.genipv6 "retiolum" "external" { inherit hostName; }).address; + (stockholm.lib.krebs.genipv6 "retiolum" "external" { inherit hostName; }).address; } // optionalAttrs (host.nets?wiregrill) { nets.wiregrill.ip6.addr = - (krebs.genipv6 "wiregrill" "external" { inherit hostName; }).address; + (stockholm.lib.krebs.genipv6 "wiregrill" "external" { inherit hostName; }).address; }); in { users.feliks = { -- cgit v1.2.3