cleanup and format
This commit is contained in:
parent
e8114c1d61
commit
31b066909d
7 changed files with 9 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets."authentik/env" = {};
|
sops.secrets."authentik/env" = { };
|
||||||
services.authentik = {
|
services.authentik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.sops.secrets."authentik/env".path;
|
environmentFile = config.sops.secrets."authentik/env".path;
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
proxyPass = "http://authentik";
|
proxyPass = "http://authentik";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# general proxy settings
|
# general proxy settings
|
||||||
proxy_connect_timeout 60s;
|
proxy_connect_timeout 60s;
|
||||||
proxy_send_timeout 60s;
|
proxy_send_timeout 60s;
|
||||||
proxy_read_timeout 60s;
|
proxy_read_timeout 60s;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
locations."/outpost.goauthentik.io" = {
|
locations."/outpost.goauthentik.io" = {
|
||||||
proxyPass = "http://authentik/outpost.goauthentik.io";
|
proxyPass = "http://authentik/outpost.goauthentik.io";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
mac = "02:00:00:00:00:03";
|
mac = "02:00:00:00:00:03";
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
mac = "02:00:00:00:00:04";
|
mac = "02:00:00:00:00:04";
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
let
|
|
||||||
grp = "miniflux-secret";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
sops.secrets."miniflux" = { };
|
sops.secrets."miniflux" = { };
|
||||||
|
|
||||||
|
@ -10,7 +7,6 @@ in
|
||||||
createDatabaseLocally = true;
|
createDatabaseLocally = true;
|
||||||
adminCredentialsFile = config.sops.secrets."miniflux".path;
|
adminCredentialsFile = config.sops.secrets."miniflux".path;
|
||||||
config = {
|
config = {
|
||||||
LOG_LEVEL="debug";
|
|
||||||
LISTEN_ADDR = "10.89.88.14:8080";
|
LISTEN_ADDR = "10.89.88.14:8080";
|
||||||
BASE_URL = "https://news.oxapentane.com";
|
BASE_URL = "https://news.oxapentane.com";
|
||||||
# oauth
|
# oauth
|
||||||
|
|
|
@ -4,7 +4,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
|
hosts = [
|
||||||
|
"0.0.0.0:5232"
|
||||||
|
"[::]:5232"
|
||||||
|
];
|
||||||
ssl = "False";
|
ssl = "False";
|
||||||
};
|
};
|
||||||
auth = {
|
auth = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue