From e832775dc8c9d0018424c2cc9039869ccee0ad3f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 27 Jul 2023 13:37:04 -0500 Subject: [PATCH] Add remote users --- os/linux/nix/machines/beefcake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/os/linux/nix/machines/beefcake.nix b/os/linux/nix/machines/beefcake.nix index 5c3e9b4..7596240 100644 --- a/os/linux/nix/machines/beefcake.nix +++ b/os/linux/nix/machines/beefcake.nix @@ -103,6 +103,26 @@ extraGroups = [ ]; }; + + users.users.ben = { + isNormalUser = true; + packages = with pkgs; [ + vim + ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUfLZ+IX85p9355Po2zP1H2tAxiE0rE6IYb8Sf+eF9T ben@benhany.com" + ]; + }; + + users.users.alan = { + isNormalUser = true; + packages = with pkgs; [ + vim + ]; + openssh.authorizedKeys.keys = [ + "" + ]; + }; users.users.restic = { # used for other machines to backup to