about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTom Hubrecht <tom@hubrecht.ovh>2024-02-07 09:24:52 +0100
committerTom Hubrecht <tom@hubrecht.ovh>2024-02-07 14:14:39 +0100
commitad67485526c1e0984dd160b983023a27079d7b71 (patch)
treea0fcdf9441a5b39df0575fb8524460afc0963e8f /nixos
parentfb13cdcf93cb85c2b34aaf5bad6548ba5b8878d6 (diff)
downloadnixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar.gz
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar.bz2
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar.lz
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar.xz
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.tar.zst
nixlib-ad67485526c1e0984dd160b983023a27079d7b71.zip
kanidm: 1.1.0-rc.15 -> 1.1.0-rc.16
Release notes: https://github.com/kanidm/kanidm/releases/tag/v1.1.0-rc.16
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/security/kanidm.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/nixos/modules/services/security/kanidm.nix b/nixos/modules/services/security/kanidm.nix
index c8d8f69729e9..c659d93b4087 100644
--- a/nixos/modules/services/security/kanidm.nix
+++ b/nixos/modules/services/security/kanidm.nix
@@ -165,10 +165,17 @@ in
       type = lib.types.submodule {
         freeformType = settingsFormat.type;
 
-        options.pam_allowed_login_groups = lib.mkOption {
-          description = lib.mdDoc "Kanidm groups that are allowed to login using PAM.";
-          example = "my_pam_group";
-          type = lib.types.listOf lib.types.str;
+        options = {
+          pam_allowed_login_groups = lib.mkOption {
+            description = lib.mdDoc "Kanidm groups that are allowed to login using PAM.";
+            example = "my_pam_group";
+            type = lib.types.listOf lib.types.str;
+          };
+          hsm_pin_path = lib.mkOption {
+            description = lib.mdDoc "Path to a HSM pin.";
+            default = "/var/cache/kanidm-unixd/hsm-pin";
+            type = lib.types.path;
+          };
         };
       };
       description = lib.mdDoc ''