nixos/security: Allow configuration of pam for duosec.
This commit is contained in:
parent
096e66a8ad
commit
4e9ac79ef5
1 changed files with 0 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue