about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-02-06 21:37:24 +0100
committerGitHub <noreply@github.com>2023-02-06 21:37:24 +0100
commit9402c27069da5c5217648ec9cfe6d437aeadb79d (patch)
tree42f27ec081dffa3000381fddd76f01ee000d635d /nixos
parent38e3d2182426f57256f68b6409705c1b5eb04b8b (diff)
parent918c22bd5f2a754542a115c2d1178adf830abd12 (diff)
Merge pull request #208289 from Ma27/bump-privacyidea
privacyidea: 3.7.4 -> 3.8
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/security/privacyidea.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/privacyidea.nix b/nixos/modules/services/security/privacyidea.nix
index e446e606cad8b..664335cb58e89 100644
--- a/nixos/modules/services/security/privacyidea.nix
+++ b/nixos/modules/services/security/privacyidea.nix
@@ -6,7 +6,7 @@ let
   cfg = config.services.privacyidea;
   opt = options.services.privacyidea;
 
-  uwsgi = pkgs.uwsgi.override { plugins = [ "python3" ]; python3 = pkgs.python39; };
+  uwsgi = pkgs.uwsgi.override { plugins = [ "python3" ]; python3 = pkgs.python310; };
   python = uwsgi.python3;
   penv = python.withPackages (const [ pkgs.privacyidea ]);
   logCfg = pkgs.writeText "privacyidea-log.cfg" ''
@@ -41,7 +41,7 @@ let
 
   piCfgFile = pkgs.writeText "privacyidea.cfg" ''
     SUPERUSER_REALM = [ '${concatStringsSep "', '" cfg.superuserRealm}' ]
-    SQLALCHEMY_DATABASE_URI = 'postgresql:///privacyidea'
+    SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2:///privacyidea'
     SECRET_KEY = '${cfg.secretKey}'
     PI_PEPPER = '${cfg.pepper}'
     PI_ENCFILE = '${cfg.encFile}'