nixos/security: Allow configuration of pam for duosec.

This commit is contained in:
Scott Dier 2019-02-24 14:48:44 +00:00
parent 096e66a8ad
commit 4e9ac79ef5

View File

@ -180,12 +180,6 @@ in
};
config = mkIf (cfg.ssh.enable || cfg.pam.enable) {
assertions =
[ { assertion = !cfg.pam.enable;
message = "PAM support is currently not implemented.";
}
];
environment.systemPackages = [ pkgs.duo-unix ];
security.wrappers.login_duo.source = "${pkgs.duo-unix.out}/bin/login_duo";