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;