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/boot/common/default.nix Normal file → Executable file
View File

0
modules/nixos/boot/lanzaboote/default.nix Normal file → Executable file
View File

0
modules/nixos/boot/plymouth/default.nix Normal file → Executable file
View File

0
modules/nixos/boot/systemd-boot/default.nix Normal file → Executable file
View File

0
modules/nixos/desktop/gnome/default.nix Normal file → Executable file
View File

0
modules/nixos/desktop/hyprland/options.nix Normal file → Executable file
View File

0
modules/nixos/desktop/hyprland/wallpapers/default.nix Normal file → Executable file
View File

0
modules/nixos/desktop/plasma/default.nix Normal file → Executable file
View File

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

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

0
modules/nixos/disko/options.nix Normal file → Executable file
View File

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

0
modules/nixos/hardware/battery/default.nix Normal file → Executable file
View File

0
modules/nixos/hardware/btrfs/default.nix Normal file → Executable file
View File

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

0
modules/nixos/hardware/npu/default.nix Normal file → Executable file
View File

0
modules/nixos/hardware/openrgb/default.nix Normal file → Executable file
View File

View File

0
modules/nixos/hardware/raspberry-pi/audio.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/bluetooth.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/config.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/default.nix Normal file → Executable file
View File

View File

View File

View File

0
modules/nixos/hardware/raspberry-pi/i2c.nix Normal file → Executable file
View File

View File

View File

0
modules/nixos/hardware/raspberry-pi/leds.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/modesetting.nix Normal file → Executable file
View File

View File

0
modules/nixos/hardware/raspberry-pi/pwm.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/uboot-builder.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/uboot-builder.sh Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/uefi-builder.nix Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/uefi-builder.sh Normal file → Executable file
View File

0
modules/nixos/hardware/raspberry-pi/wifi.nix Normal file → Executable file
View File

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

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

View File

View File

View File

0
modules/nixos/homeassistant/dashboards/default.nix Normal file → Executable file
View File

0
modules/nixos/homeassistant/dashboards/options.nix Normal file → Executable file
View File

0
modules/nixos/homeassistant/options.nix Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

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

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

0
modules/nixos/network/options.nix Normal file → Executable file
View File

0
modules/nixos/nix/ccache/default.nix.ori Normal file → Executable file
View File

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

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

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

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

0
modules/nixos/security/tpm/default.nix Normal file → Executable file
View File

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

Some files were not shown because too many files have changed in this diff Show More