mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
nixos/pam: Rename option enableSSHAgentAuth
to sshAgentAuth.enable
This commit is contained in:
parent
f6a028db30
commit
a46ea51ca3
2 changed files with 9 additions and 13 deletions
|
@ -15,7 +15,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }:
|
|||
foo.isNormalUser = true;
|
||||
};
|
||||
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
security.pam.sshAgentAuth.enable = true;
|
||||
security.${lib.replaceStrings [ "_" ] [ "-" ] n} = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true; # We are checking `pam_ssh_agent_auth(8)` works for a sudoer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue