From 1b27bafd41534121d0ae51eb2ed5e76022a0e944 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 1 Dec 2025 22:48:02 +0100 Subject: [PATCH] feat(web-arm): update to 25.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Migrate logind.extraConfig to logind.settings.Login - Update dovecot alert for service rename (dovecot2 → dovecot) - Fix sa-core buildGoModule env attribute for CGO_ENABLED --- hosts/web-arm/channel | 2 +- hosts/web-arm/configuration.nix | 2 +- hosts/web-arm/modules/grafana/alerting/service/dovecot_down.nix | 2 +- hosts/web-arm/pkgs/sa-core.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/web-arm/channel b/hosts/web-arm/channel index 93f5df5..57f31e7 100644 --- a/hosts/web-arm/channel +++ b/hosts/web-arm/channel @@ -1 +1 @@ -https://channels.nixos.org/nixos-25.05 +https://channels.nixos.org/nixos-25.11 diff --git a/hosts/web-arm/configuration.nix b/hosts/web-arm/configuration.nix index 8a6eac0..21ebfff 100644 --- a/hosts/web-arm/configuration.nix +++ b/hosts/web-arm/configuration.nix @@ -63,7 +63,7 @@ time.timeZone = "Europe/Vienna"; - services.logind.extraConfig = "RuntimeDirectorySize=2G"; + services.logind.settings.Login.RuntimeDirectorySize = "2G"; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.defaultSopsFile = ./secrets.yaml; diff --git a/hosts/web-arm/modules/grafana/alerting/service/dovecot_down.nix b/hosts/web-arm/modules/grafana/alerting/service/dovecot_down.nix index 2a03cb9..18645fd 100644 --- a/hosts/web-arm/modules/grafana/alerting/service/dovecot_down.nix +++ b/hosts/web-arm/modules/grafana/alerting/service/dovecot_down.nix @@ -15,7 +15,7 @@ datasourceUid = "vm-datasource-uid"; model = { editorMode = "code"; - expr = "node_systemd_unit_state{state=\"active\", name=\"dovecot2.service\"} OR on() vector(0)"; + expr = "node_systemd_unit_state{state=\"active\", name=\"dovecot.service\"} OR on() vector(0)"; hide = false; intervalMs = 1000; legendFormat = "__auto"; diff --git a/hosts/web-arm/pkgs/sa-core.nix b/hosts/web-arm/pkgs/sa-core.nix index d09c48d..e025ae4 100644 --- a/hosts/web-arm/pkgs/sa-core.nix +++ b/hosts/web-arm/pkgs/sa-core.nix @@ -17,7 +17,7 @@ buildGoModule rec { subPackages = [ "." ]; # Optional tuning - CGO_ENABLED = 0; + env.CGO_ENABLED = "0"; ldflags = [ "-s" "-w" ]; doCheck = false;