From b62e7be5219d53359f4c7b5ca4dd651ebd8fdc1f Mon Sep 17 00:00:00 2001 From: Valentin Date: Sun, 7 Jun 2026 01:04:16 +0200 Subject: Nixpkgs update --- tharos/cgit.nix | 1 + tharos/grafana.nix | 5 +++++ tharos/nextcloud.nix | 8 +++++++- 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'tharos') diff --git a/tharos/cgit.nix b/tharos/cgit.nix index e23c10c..241bb63 100644 --- a/tharos/cgit.nix +++ b/tharos/cgit.nix @@ -45,6 +45,7 @@ services.cgit.infra = rec { enable = true; nginx.virtualHost = "git.${self.domain}"; + gitHttpBackend.checkExportOkFiles = false; repos.infra = { desc = "Quellcode für die technische Infrastruktur des Stadtteilbeirats Heimfeld"; inherit path; diff --git a/tharos/grafana.nix b/tharos/grafana.nix index be723c6..0c6fd4f 100644 --- a/tharos/grafana.nix +++ b/tharos/grafana.nix @@ -30,6 +30,11 @@ }; security = { disable_initial_admin_creation = true; + # Bisheriger Upstream-Default aus Nixpkgs < 26.05. + # Wird von Grafana zur Verschlüsselung sensibler DB-Spalten (Datenquellen-Credentials, Alert-Channel-Secrets, OAuth-Tokens) genutzt. + # Aktuell enthält unsere Grafana-DB nichts dergleichen: einzige Datenquelle ist Prometheus auf localhost ohne Auth, kein Admin-Login, keine Notification-Channels. + # Sobald sich das ändert, durch einen eigenen Schlüssel via `secret_key_file` ersetzen. + secret_key = "SW2YcwTIb9zpOOhoPsMm"; }; "auth.anonymous" = { enabled = true; diff --git a/tharos/nextcloud.nix b/tharos/nextcloud.nix index eedb507..303688d 100644 --- a/tharos/nextcloud.nix +++ b/tharos/nextcloud.nix @@ -2,7 +2,12 @@ { flake.machines.tharos = { nixos = - { config, lib, ... }: + { + config, + pkgs, + lib, + ... + }: let apps = config.services.nextcloud.package.packages.apps; nextcloud = config.services.nextcloud.hostName; @@ -11,6 +16,7 @@ { services.nextcloud = { enable = true; + package = pkgs.nextcloud32; hostName = "nextcloud.${self.domain}"; database.createLocally = true; config.dbtype = "pgsql"; -- cgit v1.3.1