From 7b6f2791424d6b1a70ffab8b91783df1a2a8fc5a Mon Sep 17 00:00:00 2001 From: Thomas Strobel Date: Thu, 2 Jul 2015 16:46:56 +0200 Subject: pam_mount module: integrate pam_mount into PAM of NixOS --- nixos/modules/config/users-groups.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nixos/modules/config/users-groups.nix') diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 9d48edf2f26c..478f433b431c 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -108,6 +108,15 @@ let description = "The user's home directory."; }; + cryptHomeLuks = mkOption { + type = with types; nullOr str; + default = null; + description = '' + Path to encrypted luks device that contains + the user's home directory. + ''; + }; + shell = mkOption { type = types.str; default = "/run/current-system/sw/bin/nologin"; -- cgit v1.2.3