Address security issue in nixpkgs
See https://github.com/NixOS/nixpkgs/issues/31611
This commit is contained in:
parent
5b1df3ae73
commit
42a83db85e
|
@ -85,7 +85,12 @@
|
||||||
apps.yubikey.enable = true;
|
apps.yubikey.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.pam.sshAgentAuth.enable = true;
|
security.pam.sshAgentAuth = {
|
||||||
|
enable = true;
|
||||||
|
# Addresses issue 31611
|
||||||
|
# See: https://github.com/NixOS/nixpkgs/issues/31611
|
||||||
|
authorizedKeysFiles = lib.mkForce ["/etc/ssh/authorized_keys.d/%u"];
|
||||||
|
};
|
||||||
security.pam.services.${config.aa.user.name}.sshAgentAuth = true;
|
security.pam.services.${config.aa.user.name}.sshAgentAuth = true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue