nixos/security: Allow configuration of pam for duosec.
This commit is contained in:
parent
096e66a8ad
commit
4e9ac79ef5
@ -180,12 +180,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.ssh.enable || cfg.pam.enable) {
|
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 ];
|
environment.systemPackages = [ pkgs.duo-unix ];
|
||||||
|
|
||||||
security.wrappers.login_duo.source = "${pkgs.duo-unix.out}/bin/login_duo";
|
security.wrappers.login_duo.source = "${pkgs.duo-unix.out}/bin/login_duo";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user