We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e7228 commit 8017f14Copy full SHA for 8017f14
system/linux/ssh.nix
@@ -1,10 +1,7 @@
1
-{ config, user, ... }:
+{ config, ... }:
2
{
3
security.pam = {
4
- rssh = {
5
- inherit (config.services.openssh) enable;
6
- settings.auth_key_file = "/etc/ssh/authorized_keys.d/${user.login}";
7
- };
+ rssh.enable = config.services.openssh.enable;
8
services.sudo.rssh = config.services.openssh.enable && config.security.pam.rssh.enable;
9
};
10
services.openssh = {
0 commit comments