mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-01 22:09:25 +02:00
nix doesn't have option for yubi key ssh key
This commit is contained in:
parent
be47a9bcb8
commit
e18abb34cd
12
flake.nix
12
flake.nix
|
@ -145,9 +145,9 @@
|
|||
./hardware/dell-wyse-3040.nix
|
||||
dump-dvb.nixosModules.disk-module
|
||||
{
|
||||
services.openssh.ciphers = [
|
||||
"ed25519-sk"
|
||||
];
|
||||
services.openssh.extraConfig = ''
|
||||
PubkeyAcceptedKeyTypes sk-ecdsa-sha2-nistp256@openssh.com,sk-ssh-ed25519@openssh.com
|
||||
'';
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"sk-ssh-ed25519@openssh.com aaaagnnrlxnzac1lzdi1nte5qg9wzw5zc2guy29taaaaili3ylty7fwvohtwx8511v+gbtlzzmuv505fi1pj53v6aaaabhnzado="
|
||||
"sk-ssh-ed25519@openssh.com aaaagnnrlxnzac1lzdi1nte5qg9wzw5zc2guy29taaaaipzbd00cbfpxzuc8eb6sljaafnf1hgs6vci1rzcncyocaaaabhnzado="
|
||||
|
@ -162,9 +162,9 @@
|
|||
./hardware/dell-wyse-3040.nix
|
||||
dump-dvb.nixosModules.disk-module
|
||||
{
|
||||
services.openssh.ciphers = [
|
||||
"ed25519-sk"
|
||||
];
|
||||
services.openssh.extraConfig = ''
|
||||
PubkeyAcceptedKeyTypes sk-ecdsa-sha2-nistp256@openssh.com,sk-ssh-ed25519@openssh.com
|
||||
'';
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"sk-ssh-ed25519@openssh.com aaaagnnrlxnzac1lzdi1nte5qg9wzw5zc2guy29taaaaili3ylty7fwvohtwx8511v+gbtlzzmuv505fi1pj53v6aaaabhnzado="
|
||||
"sk-ssh-ed25519@openssh.com aaaagnnrlxnzac1lzdi1nte5qg9wzw5zc2guy29taaaaipzbd00cbfpxzuc8eb6sljaafnf1hgs6vci1rzcncyocaaaabhnzado="
|
||||
|
|
Loading…
Reference in New Issue
Block a user