From 084f9fca357a3abe2f99415627a3955def7dfbba Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 10 May 2025 20:47:15 +1000 Subject: [PATCH] users: add user rhys --- flake.nix | 1 + modules/users/rhys.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/users/rhys.nix diff --git a/flake.nix b/flake.nix index 2f3ddca..6276ee4 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,7 @@ ./modules/games/server/minecraft/forge-1.19.2.nix ./modules/users/nico.nix + ./modules/users/rhys.nix ./hosts/bocchi/configuration.nix ./hosts/nixos-common.nix diff --git a/modules/users/rhys.nix b/modules/users/rhys.nix new file mode 100644 index 0000000..8b2c365 --- /dev/null +++ b/modules/users/rhys.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ...}: + +{ + users.users.rhys = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + shell = pkgs.zsh; + }; + + users.users.rhys.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0Pce0wQKV+wI7rCIiUZgqqkiodTXZ6fMiZezLy9uZk" # laptop + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC+HNs1/r4LMQsfpqXhU7396q5zL9hvfcNdiQSUTIl4R" # phone + ]; +}