From 854b6374d75e72a4211b232a980e4b1678e2366a Mon Sep 17 00:00:00 2001 From: pazpi Date: Tue, 25 Feb 2025 22:53:09 +0100 Subject: [PATCH] Authentik follows its own release. Otherwise does not compile --- flake.nix | 1 - modules/services/authentik.nix | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 9b780ef..3a055a4 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,6 @@ authentik-nix = { url = "github:nix-community/authentik-nix"; - inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/modules/services/authentik.nix b/modules/services/authentik.nix index 5a3cd8a..e5a41fa 100644 --- a/modules/services/authentik.nix +++ b/modules/services/authentik.nix @@ -135,10 +135,8 @@ in services.caddy = with cfg.proxy; { virtualHosts."${subdomain}.${domain}".extraConfig = '' # Other reverse proxies go here - handle { - reverse_proxy http://${host}:9000 - } - + reverse_proxy http://${host}:9000 + import cloudflare_${domain} ''; virtualHosts."${domain}".extraConfig = ''