Add ssh public key from Yubikey

This commit is contained in:
Jez Cope 2020-10-30 19:32:32 +00:00
parent ee021bb2fd
commit e5aca2576f
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ in
isNormalUser = true;
extraGroups = [ "wheel" "video" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [ ./data/yubikey_ssh.pub ];
};
# Networking ###############################################################

1
data/yubikey_ssh.pub Normal file
View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqkXXjLqwhWawBT+nNGBahyi7KziXj6x1rGPiZOYxvUSZh/SZRsi3XA+Zq+Re8K5oCsD/l/HV9ip4FVutX5keDDCqhMRm2F9X/27S+FpVoksFB/1nOCbebG/EPcT6rpnW/q5PRwC68AVCLEyI+e29jsTZ4DOIyhZHU/AwsofO1D9zrHuGEX3ZQqDRKelKlJLQurZDYGRzi0bqhthp4WCUTkG0aDVn0RGCmYeTP/UIg16RuOy/crKUd0fQ319oU19aIS7dT55Kf/CrWg/2BRrVKb3CVhA5wTa37F/b5Ng6P/v/IhjUQhcFrQrGI3mYjG6JIblcZFG3duxdwlFUaYTBZ cardno:000603506670