diff options
author | Rory& <root@rory.gay> | 2024-08-08 03:50:02 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-08-08 03:51:45 +0200 |
commit | ff65c8e951092d4d7caed1c4d02c9e141df7799b (patch) | |
tree | f8bd40da8fd80021a7452723a32cddaec8d45de6 /host/Rory-nginx | |
parent | Server config cleanup (diff) | |
download | Rory-Open-Architecture-ff65c8e951092d4d7caed1c4d02c9e141df7799b.tar.xz |
Imports cleanup
Diffstat (limited to 'host/Rory-nginx')
-rw-r--r-- | host/Rory-nginx/services/cgit.nix | 6 | ||||
-rwxr-xr-x | host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix | 4 | ||||
-rwxr-xr-x | host/Rory-nginx/services/jitsi.nix | 4 | ||||
-rwxr-xr-x | host/Rory-nginx/services/matrix/draupnir.nix | 1 | ||||
-rwxr-xr-x | host/Rory-nginx/services/matrix/root.nix | 8 | ||||
-rwxr-xr-x | host/Rory-nginx/services/nginx/nginx.nix | 7 | ||||
-rwxr-xr-x | host/Rory-nginx/services/ollama.nix | 4 | ||||
-rwxr-xr-x | host/Rory-nginx/services/postgres.nix | 5 |
8 files changed, 8 insertions, 31 deletions
diff --git a/host/Rory-nginx/services/cgit.nix b/host/Rory-nginx/services/cgit.nix index 5b80000..fb762d1 100644 --- a/host/Rory-nginx/services/cgit.nix +++ b/host/Rory-nginx/services/cgit.nix @@ -1,8 +1,4 @@ -{ - pkgs, - lib, - ... -}: +{ pkgs, lib, ... }: let base_cgit_config = { diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix index 7e7c355..11d0be3 100755 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix @@ -1,6 +1,4 @@ -{ - ... -}: +{ ... }: { imports = [ diff --git a/host/Rory-nginx/services/jitsi.nix b/host/Rory-nginx/services/jitsi.nix index ff7a229..9fe8d73 100755 --- a/host/Rory-nginx/services/jitsi.nix +++ b/host/Rory-nginx/services/jitsi.nix @@ -1,6 +1,4 @@ -{ - ... -}: +{ ... }: { services.jitsi-videobridge.openFirewall = true; diff --git a/host/Rory-nginx/services/matrix/draupnir.nix b/host/Rory-nginx/services/matrix/draupnir.nix index 9f48e6d..66d4648 100755 --- a/host/Rory-nginx/services/matrix/draupnir.nix +++ b/host/Rory-nginx/services/matrix/draupnir.nix @@ -21,6 +21,7 @@ autojoinOnlyIfManager = true; # Let's not open ourselves up to DoS attacks automaticallyRedactForReasons = [ "*" ]; # I always want autoredact fasterMembershipChecks = true; + roomStateBackingStore.enabled = true; backgroundDelayMS = 10; # delay isn't needed, I don't mind the performance hit pollReports = false; # this is a single person homeserver... let's save ourself the work diff --git a/host/Rory-nginx/services/matrix/root.nix b/host/Rory-nginx/services/matrix/root.nix index 968a14a..b13c38a 100755 --- a/host/Rory-nginx/services/matrix/root.nix +++ b/host/Rory-nginx/services/matrix/root.nix @@ -1,10 +1,4 @@ -{ - config, - pkgs, - lib, - botcore-v4, - ... -}: +{ ... }: { imports = [ diff --git a/host/Rory-nginx/services/nginx/nginx.nix b/host/Rory-nginx/services/nginx/nginx.nix index d210fb1..4e36577 100755 --- a/host/Rory-nginx/services/nginx/nginx.nix +++ b/host/Rory-nginx/services/nginx/nginx.nix @@ -1,9 +1,4 @@ -{ - config, - pkgs, - lib, - ... -}: +{ config, pkgs, ... }: let serveDir = config: { enableACME = if config ? ssl then config.ssl else true; diff --git a/host/Rory-nginx/services/ollama.nix b/host/Rory-nginx/services/ollama.nix index 954fe99..c9709da 100755 --- a/host/Rory-nginx/services/ollama.nix +++ b/host/Rory-nginx/services/ollama.nix @@ -1,6 +1,4 @@ -{ - ... -}: +{ ... }: { # systemd.tmpfiles.rules = [ "d /data/ollama 0750 ostgres postgres" ]; diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix index fbe33b7..68b822b 100755 --- a/host/Rory-nginx/services/postgres.nix +++ b/host/Rory-nginx/services/postgres.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: +{ pkgs, ... }: { systemd.tmpfiles.rules = [ "d /mnt/postgres/data 0750 postgres postgres" ]; |