This commit is contained in:
mjallen18
2026-04-07 18:39:42 -05:00
parent a418d03b19
commit 70002a19e2
365 changed files with 51 additions and 18 deletions

0
modules/nixos/services/actual/default.nix Normal file → Executable file
View File

0
modules/nixos/services/appimage/default.nix Normal file → Executable file
View File

0
modules/nixos/services/arrs/default.nix Normal file → Executable file
View File

0
modules/nixos/services/attic/default.nix Normal file → Executable file
View File

0
modules/nixos/services/authentik/default.nix Normal file → Executable file
View File

0
modules/nixos/services/bookshelf/default.nix Normal file → Executable file
View File

2
modules/nixos/services/caddy/default.nix Normal file → Executable file
View File

@@ -15,7 +15,7 @@ let
plugins = [
"github.com/caddy-dns/cloudflare@v0.2.3"
];
hash = "sha256-bL1cpMvDogD/pdVxGA8CAMEXazWpFDBiGBxG83SmXLA=";
hash = "sha256-20o+14cn/eeLuf1c8uGE1ODRZGC0oxocaIVlv4tFSvA=";
};
# "github.com/hslatman/caddy-crowdsec-bouncer/http@v0.9.2"

0
modules/nixos/services/caddy/sops.nix Normal file → Executable file
View File

0
modules/nixos/services/calibre/default.nix Normal file → Executable file
View File

0
modules/nixos/services/cockpit/default.nix Normal file → Executable file
View File

0
modules/nixos/services/code-server/default.nix Normal file → Executable file
View File

0
modules/nixos/services/collabora/default.nix Normal file → Executable file
View File

0
modules/nixos/services/common/default.nix Normal file → Executable file
View File

0
modules/nixos/services/coturn/default.nix Normal file → Executable file
View File

0
modules/nixos/services/databasus/default.nix Normal file → Executable file
View File

0
modules/nixos/services/dispatcharr/default.nix Normal file → Executable file
View File

0
modules/nixos/services/gitea/default.nix Normal file → Executable file
View File

0
modules/nixos/services/glance/default.nix Normal file → Executable file
View File

0
modules/nixos/services/glances/default.nix Normal file → Executable file
View File

0
modules/nixos/services/grafana/dashboards/caddy.json Normal file → Executable file
View File

0
modules/nixos/services/grafana/dashboards/gitea.json Normal file → Executable file
View File

View File

0
modules/nixos/services/grafana/dashboards/nut.json Normal file → Executable file
View File

View File

@@ -52,7 +52,7 @@ let
name = "node-exporter-full.json";
path = patchDashboard "node-exporter-full.json" (pkgs.fetchurl {
url = "https://grafana.com/api/dashboards/1860/revisions/latest/download";
sha256 = "sha256-pNgn6xgZBEu6LW0lc0cXX2gRkQ8lg/rer34SPE3yEl4=";
sha256 = "sha256-mEWSdsTn1EKpW6xoJv/s0XST46EOoUPbDugQwyngIss=";
}) "ds_prometheus";
}
{
@@ -880,6 +880,16 @@ let
# Inject ntfy credentials into Grafana's environment so the $__env{}
# provider in contactPoints.yaml can resolve them at runtime.
# The grafana.env template is managed by SOPS and owned by grafana:grafana.
sops.templates."grafana.env" = {
content = ''
GRAFANA_NTFY_USER=${config.sops.placeholder."jallen-nas/ntfy/user"}
GRAFANA_NTFY_PASSWORD=${config.sops.placeholder."jallen-nas/ntfy/password"}
'';
mode = "0400";
owner = "grafana";
restartUnits = [ "grafana.service" ];
};
systemd.services.grafana.serviceConfig.EnvironmentFile = config.sops.templates."grafana.env".path;
# The redis exporter needs AF_INET to reach TCP Redis instances.

0
modules/nixos/services/grimmory/default.nix Normal file → Executable file
View File

0
modules/nixos/services/headscale/default.nix Normal file → Executable file
View File

0
modules/nixos/services/jellyseerr/default.nix Normal file → Executable file
View File

6
modules/nixos/services/kavita/default.nix Normal file → Executable file
View File

@@ -27,9 +27,9 @@ let
enable = true;
dataDir = "${cfg.configDir}/kavita";
tokenKeyFile = config.sops.secrets."jallen-nas/kavita/token".path;
settings = {
inherit (cfg) port;
};
# settings = {
# inherit (cfg) port;
# };
};
};
};

0
modules/nixos/services/lemonade/default.nix Normal file → Executable file
View File

0
modules/nixos/services/lubelogger/default.nix Normal file → Executable file
View File

11
modules/nixos/services/matrix/default.nix Normal file → Executable file
View File

@@ -149,6 +149,17 @@ let
systemd.services.matrix-synapse = {
after = [ "postgresql.service" ];
requires = [ "postgresql.service" ];
# Prevent unbounded restart loops (e.g. when authentik/OIDC is unreachable at startup).
# Without this, synapse will respawn hundreds of times per hour, flooding the kernel
# message buffer and risking filesystem corruption on unclean shutdown.
startLimitIntervalSec = 300; # 5 minute window
startLimitBurst = 5; # max 5 attempts per window, then give up until manual intervention
serviceConfig = {
# Exponential backoff: starts at 10s, doubles each attempt up to 5 minutes
RestartSec = "10s";
RestartSteps = 5;
RestartMaxDelaySec = "5min";
};
};
};
};

0
modules/nixos/services/matrix/livekit.nix Normal file → Executable file
View File

0
modules/nixos/services/minecraft/default.nix Normal file → Executable file
View File

0
modules/nixos/services/nebula/default.nix Normal file → Executable file
View File

0
modules/nixos/services/nebula/sops.nix Normal file → Executable file
View File

0
modules/nixos/services/netbootxyz/default.nix Normal file → Executable file
View File

0
modules/nixos/services/nextcloud/default.nix Normal file → Executable file
View File

0
modules/nixos/services/ntfy/default.nix Normal file → Executable file
View File

0
modules/nixos/services/onlyoffice/default.nix Normal file → Executable file
View File

0
modules/nixos/services/opencloud/default.nix Normal file → Executable file
View File

0
modules/nixos/services/orca/default.nix Normal file → Executable file
View File

0
modules/nixos/services/protonmail-bridge/default.nix Normal file → Executable file
View File

0
modules/nixos/services/restic-server/default.nix Normal file → Executable file
View File

0
modules/nixos/services/restic/default.nix Normal file → Executable file
View File

0
modules/nixos/services/sparky-fitness/default.nix Normal file → Executable file
View File

0
modules/nixos/services/suggestarr/default.nix Normal file → Executable file
View File

0
modules/nixos/services/sunshine/default.nix Normal file → Executable file
View File

0
modules/nixos/services/termix/default.nix Normal file → Executable file
View File

0
modules/nixos/services/termix/guacd.nix Normal file → Executable file
View File

0
modules/nixos/services/tunarr/default.nix Normal file → Executable file
View File

0
modules/nixos/services/unmanic/default.nix Normal file → Executable file
View File

0
modules/nixos/services/uptimekuma/default.nix Normal file → Executable file
View File