mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
modules.system.security: disable sshAgentAuth, enable rssh
This commit is contained in:
@@ -34,7 +34,9 @@ inputs:
|
||||
};
|
||||
};
|
||||
yubico = { enable = true; id = "91291"; };
|
||||
sshAgentAuth.enable = true;
|
||||
# TODO: enable cue on next release
|
||||
rssh.enable = true;
|
||||
services.sudo.rssh = true;
|
||||
loginLimits =
|
||||
[
|
||||
{ domain = "@users"; item = "nofile"; value = 65536; }
|
||||
|
||||
@@ -60,6 +60,5 @@ inputs:
|
||||
pam.yubico.authorizedYubiKeys.ids = [ "cccccbgrhnub" ];
|
||||
};
|
||||
};
|
||||
# environment.etc."ssh/authorized_keys.d/chn".source = ./id_ed25519_sk.pub;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user