From e4fca29931a5c382705325994b8b78c493547851 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 8 Feb 2024 21:46:54 +0100 Subject: [PATCH] remove dex --- nixos/server/package-configs/default.nix | 1 - nixos/server/package-configs/dex/default.nix | 31 -------------------- 2 files changed, 32 deletions(-) delete mode 100644 nixos/server/package-configs/dex/default.nix diff --git a/nixos/server/package-configs/default.nix b/nixos/server/package-configs/default.nix index 6fef896..44bc602 100644 --- a/nixos/server/package-configs/default.nix +++ b/nixos/server/package-configs/default.nix @@ -9,7 +9,6 @@ imports = [ ./aria2 ./conduit - ./dex ./forgejo ./gotosocial ./jellyfin diff --git a/nixos/server/package-configs/dex/default.nix b/nixos/server/package-configs/dex/default.nix deleted file mode 100644 index 7779479..0000000 --- a/nixos/server/package-configs/dex/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - config, - pkgs, - ... -}: { - services.dex = { - enable = true; - # You can add secret files here - environmentFile = null; - settings = { - # External url - issuer = "http://127.0.0.1:5556/dex"; - storage = { - type = "postgres"; - config.host = "/var/run/postgres"; - }; - web = { - http = "127.0.0.1:5556"; - }; - enablePasswordDB = true; - staticClients = [ - { - id = "oidcclient"; - name = "Client"; - redirectURIs = ["https://example.com/callback"]; - secretFile = "/etc/dex/oidcclient"; # The content of `secretFile` will be written into to the config as `secret`. - } - ]; - }; - }; -}