From 4330148c8d6c4db6b53739379f3646ee11ba952d Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Thu, 18 Jan 2024 22:40:07 +0100 Subject: [PATCH] core/user: add ssh-key from yubikeys --- machines/core/users.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/core/users.nix b/machines/core/users.nix index 502f4bc..026d2d4 100644 --- a/machines/core/users.nix +++ b/machines/core/users.nix @@ -20,7 +20,11 @@ "wheel" # `sudo` for the user. ]; hashedPasswordFile = config.sops.secrets."users/felix/password".path; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman" + "no-touch-required sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHhjrfqyOS+M9ATSTVr9JXPERBXOow/ZmkWICjbtbEgXAAAAFHNzaDpmZWxpeC1wZXJzb25hbC0x ssh:felix-personal-1" + "no-touch-required sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMHExVOrEevQ+bwrrW3cXCO7Y/SyA+7wG+b6ZvAWY4MJAAAAFHNzaDpmZWxpeC1wZXJzb25hbC0y ssh:felix-personal-2" + ]; }; users.groups.felix = {