From f12af1fdb88f56d81e8629399d64567cf3eaa64c Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Thu, 22 Jan 2026 22:23:41 -0800 Subject: [PATCH] nixos/ncps: Allow postgres as a lock.backend option --- nixos/modules/services/networking/ncps.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ncps.nix b/nixos/modules/services/networking/ncps.nix index 16737d63626d..2e33abd8b608 100644 --- a/nixos/modules/services/networking/ncps.nix +++ b/nixos/modules/services/networking/ncps.nix @@ -237,10 +237,12 @@ in type = lib.types.enum [ "local" "redis" + "postgres" ]; default = "local"; description = '' - Lock backend to use: 'local' (single instance), 'redis' (distributed). + Lock backend to use: 'local' (single instance), 'redis' + (distributed), or 'postgres' (distributed, requires PostgreSQL). ''; };