remove dex
This commit is contained in:
parent
de279dc3d7
commit
e4fca29931
|
@ -9,7 +9,6 @@
|
|||
imports = [
|
||||
./aria2
|
||||
./conduit
|
||||
./dex
|
||||
./forgejo
|
||||
./gotosocial
|
||||
./jellyfin
|
||||
|
|
|
@ -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`.
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue