From 8c72088d9c8c7ec025ca1ab3ddc5fa97567ddf35 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Thu, 11 Apr 2024 23:27:37 +0200 Subject: [PATCH] dynamically get configured acme certs for nginx test --- flake.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index ca5d98e..2310ce7 100644 --- a/flake.nix +++ b/flake.nix @@ -66,20 +66,7 @@ inherit system; overlays = [ (import ./overlays/nginx-test.nix - # List of all the acme certs from all hosts - # Would be nice to dynamically get this per host - [ - "ildkule.pvv.ntnu.no" - "git.pvv.ntnu.no" - "wiki.pvv.ntnu.no" - "webmail.pvv.ntnu.no" - "postgres.pvv.ntnu.no" - "idp.pvv.ntnu.no" - "matrix.pvv.ntnu.no" - "chat.pvv.ntnu.no" - "brzeczyszczykiewicz.pvv.ntnu.no" - "georg.pvv.ntnu.no" - ] + (builtins.attrNames self.nixosConfigurations.${name}.config.security.acme.certs) ) ] ++ config.overlays or [ ]; };