diff options
author | lassulus <git@lassul.us> | 2023-06-10 12:50:53 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-06-11 16:50:45 +0200 |
commit | 9cc3eea82d60dc5ed9f4de7c15d63ee162e639fb (patch) | |
tree | 072eac849a03ecb4c95efc575ca1efe326da3a89 /kartei/feliks | |
parent | 98584f2db914208bf6db482627cdb7de151d2d89 (diff) |
init flake.nix
Diffstat (limited to 'kartei/feliks')
-rw-r--r-- | kartei/feliks/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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 = { |