mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
yubikey TOTP use home-manager module
This commit is contained in:
@@ -32,7 +32,6 @@ inputs:
|
||||
{
|
||||
enable = true;
|
||||
id = "91291";
|
||||
authFile = inputs.pkgs.writeText "yubikey_mappings" "chn:cccccbgrhnub";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -181,6 +181,7 @@ inputs:
|
||||
))
|
||||
)
|
||||
];
|
||||
pam.yubico.authorizedYubiKeys.ids = [ "cccccbgrhnub" ];
|
||||
};
|
||||
};
|
||||
nixos.services.groupshare.mountPoints = [ "/home/chn/groupshare" ];
|
||||
|
||||
Reference in New Issue
Block a user