cleanup and format

This commit is contained in:
Grisha Shipunov 2025-01-25 15:37:01 +01:00
parent e8114c1d61
commit 31b066909d
7 changed files with 9 additions and 13 deletions

View file

@ -1,6 +1,6 @@
{ config, ... }:
{
sops.secrets."authentik/env" = {};
sops.secrets."authentik/env" = { };
services.authentik = {
enable = true;
environmentFile = config.sops.secrets."authentik/env".path;

View file

@ -17,10 +17,10 @@
proxyPass = "http://authentik";
extraConfig = ''
# general proxy settings
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
proxy_http_version 1.1;
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -42,7 +42,6 @@
'';
};
locations."/outpost.goauthentik.io" = {
proxyPass = "http://authentik/outpost.goauthentik.io";
extraConfig = ''

View file

@ -1,4 +1,3 @@
{ config, lib, ... }:
let
mac = "02:00:00:00:00:03";

View file

@ -1,4 +1,3 @@
{ config, lib, ... }:
let
mac = "02:00:00:00:00:04";

View file

@ -1,7 +1,4 @@
{ config, ... }:
let
grp = "miniflux-secret";
in
{
sops.secrets."miniflux" = { };
@ -10,7 +7,6 @@ in
createDatabaseLocally = true;
adminCredentialsFile = config.sops.secrets."miniflux".path;
config = {
LOG_LEVEL="debug";
LISTEN_ADDR = "10.89.88.14:8080";
BASE_URL = "https://news.oxapentane.com";
# oauth

View file

@ -4,7 +4,10 @@
enable = true;
settings = {
server = {
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
hosts = [
"0.0.0.0:5232"
"[::]:5232"
];
ssl = "False";
};
auth = {