mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 05:29:23 +08:00
try to fix ussh
This commit is contained in:
@@ -139,7 +139,7 @@ inputs:
|
||||
security.pam =
|
||||
{
|
||||
u2f = { enable = true; cue = true; authFile = ./u2f_keys; };
|
||||
ussh = { enable = true; caFile = ./ca.pub; };
|
||||
ussh = { enable = true; caFile = ./ca.pub; authorizedPrincipals = "chn"; };
|
||||
services = builtins.listToAttrs (builtins.map
|
||||
(name: { inherit name; value = { u2fAuth = true; usshAuth = true; }; })
|
||||
[ "login" "sudo" "su" "kde" "polkit-1" ]);
|
||||
|
||||
Reference in New Issue
Block a user