summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-09-11 16:40:12 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-09-13 12:53:09 +0900
commitfff4a9ee014e5605d39dbea39063507c6a12c6cc (patch)
treebdb39493c65297ee0f922f262f60f0c02ccf37f1 /nixos
parent3acf336f15900615eb0da747da8a3d130f4fadee (diff)
downloadnixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar.gz
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar.bz2
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar.lz
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar.xz
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.tar.zst
nixlib-fff4a9ee014e5605d39dbea39063507c6a12c6cc.zip
pam module: optionSet -> submodule
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/pam.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 814dd21b53de..f9aa4136c8d6 100644
--- a/nixos/modules/security/pam.nix
+++ b/nixos/modules/security/pam.nix
@@ -386,8 +386,7 @@ in
 
     security.pam.services = mkOption {
       default = [];
-      type = types.loaOf types.optionSet;
-      options = [ pamOpts ];
+      type = with types; loaOf (submodule pamOpts);
       description =
         ''
           This option defines the PAM services.  A service typically