From 0220dbbcdd04a6b5f483481d2bc28eb27e12d180 Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 7 Dec 2023 20:23:11 +0100 Subject: [PATCH] users/isa: Refactor ssh public key --- users/isa/default.nix | 3 +-- users/isa/ssh.pub | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 users/isa/ssh.pub diff --git a/users/isa/default.nix b/users/isa/default.nix index a42685f..78703fe 100644 --- a/users/isa/default.nix +++ b/users/isa/default.nix @@ -3,9 +3,8 @@ { users.users.isa = { isNormalUser = true; - extraGroups = [ "guests" ]; openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrvhqC/tZzpLMs/qy+1xNSVi2mfn8LXPIEhh7dcGn9e" + (builtins.readFile ./ssh.pub) ]; }; } diff --git a/users/isa/ssh.pub b/users/isa/ssh.pub new file mode 100644 index 0000000..22be22f --- /dev/null +++ b/users/isa/ssh.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrvhqC/tZzpLMs/qy+1xNSVi2mfn8LXPIEhh7dcGn9e