From ba855752114b52a463be76fe7881fecb78a0c84c Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 20 Sep 2023 18:22:52 +0200 Subject: [PATCH] Add second key for user christian --- lib/users/christian/default.nix | 4 ++-- lib/users/christian/pubkey2 | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 lib/users/christian/pubkey2 diff --git a/lib/users/christian/default.nix b/lib/users/christian/default.nix index 842fec1..09fd0b6 100644 --- a/lib/users/christian/default.nix +++ b/lib/users/christian/default.nix @@ -3,8 +3,8 @@ config = { users.users.christian = { packages = with pkgs; [ vim git ]; - openssh.authorizedKeys.keyFiles = [ ./pubkey ]; + openssh.authorizedKeys.keyFiles = [ ./pubkey ./pubkey2 ]; }; }; -} \ No newline at end of file +} diff --git a/lib/users/christian/pubkey2 b/lib/users/christian/pubkey2 new file mode 100644 index 0000000..96cb83a --- /dev/null +++ b/lib/users/christian/pubkey2 @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGw/gcR8uoKwreAkJMJ4ft3RzbBLtd1kisezCiImICUP christian@chevalier.lan