summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-25 15:37:01 +0100
committerGrisha Shipunov2025-01-25 15:37:01 +0100
commit31b066909db390a91504b415974ea594a771015a (patch)
tree773b9c5daec4611be6aab6c4e3e3786bf3984967 /hosts
parente8114c1d6188a622c3f2267ebe7653fe1d82cfbf (diff)
cleanup and format
Diffstat (limited to 'hosts')
-rw-r--r--hosts/auth/authentik.nix2
-rw-r--r--hosts/cloud/proxy/auth.nix8
-rw-r--r--hosts/cloud/proxy/dav.nix1
-rw-r--r--hosts/immich/default.nix1
-rw-r--r--hosts/miniflux/default.nix1
-rw-r--r--hosts/miniflux/miniflux.nix4
-rw-r--r--hosts/radicale/radicale.nix5
7 files changed, 9 insertions, 13 deletions
diff --git a/hosts/auth/authentik.nix b/hosts/auth/authentik.nix
index 00589ab..f60f269 100644
--- a/hosts/auth/authentik.nix
+++ b/hosts/auth/authentik.nix
@@ -1,6 +1,6 @@
{ config, ... }:
{
- sops.secrets."authentik/env" = {};
+ sops.secrets."authentik/env" = { };
services.authentik = {
enable = true;
environmentFile = config.sops.secrets."authentik/env".path;
diff --git a/hosts/cloud/proxy/auth.nix b/hosts/cloud/proxy/auth.nix
index 6aa22e3..c8700f0 100644
--- a/hosts/cloud/proxy/auth.nix
+++ b/hosts/cloud/proxy/auth.nix
@@ -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;
diff --git a/hosts/cloud/proxy/dav.nix b/hosts/cloud/proxy/dav.nix
index 40db331..6f00943 100644
--- a/hosts/cloud/proxy/dav.nix
+++ b/hosts/cloud/proxy/dav.nix
@@ -42,7 +42,6 @@
'';
};
-
locations."/outpost.goauthentik.io" = {
proxyPass = "http://authentik/outpost.goauthentik.io";
extraConfig = ''
diff --git a/hosts/immich/default.nix b/hosts/immich/default.nix
index 5c3db21..337984f 100644
--- a/hosts/immich/default.nix
+++ b/hosts/immich/default.nix
@@ -1,4 +1,3 @@
-
{ config, lib, ... }:
let
mac = "02:00:00:00:00:03";
diff --git a/hosts/miniflux/default.nix b/hosts/miniflux/default.nix
index 9e9def9..d80f5b2 100644
--- a/hosts/miniflux/default.nix
+++ b/hosts/miniflux/default.nix
@@ -1,4 +1,3 @@
-
{ config, lib, ... }:
let
mac = "02:00:00:00:00:04";
diff --git a/hosts/miniflux/miniflux.nix b/hosts/miniflux/miniflux.nix
index 8d068ea..9afbe29 100644
--- a/hosts/miniflux/miniflux.nix
+++ b/hosts/miniflux/miniflux.nix
@@ -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
diff --git a/hosts/radicale/radicale.nix b/hosts/radicale/radicale.nix
index 9a85a8a..e69b1b5 100644
--- a/hosts/radicale/radicale.nix
+++ b/hosts/radicale/radicale.nix
@@ -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 = {