From e68d5a95c05029dba58db2b5cd6e88ce0a954957 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 8 Jun 2024 12:27:55 +0200 Subject: [PATCH] feat: add delroth as root@ for capability building Signed-off-by: Raito Bezarius --- modules/users/friends.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/users/friends.nix b/modules/users/friends.nix index d7aa355..932660f 100644 --- a/modules/users/friends.nix +++ b/modules/users/friends.nix @@ -68,5 +68,17 @@ in "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIK8icXjHkb4XzbIVN3djH4CE7RvgGd+3xbG4cgh0Yls5AAAABHNzaDo=" ]; }; + # Raito: Temporary account until next year, for delroth, who is going to work on building capabilities for improving build infrastructure. + delroth = { + isNormalUser = true; + home = "/home/delroth"; + shell = "/run/current-system/sw/bin/zsh"; + uid = 2007; + # Raito: Allowed to spawn new VMs and do various stuff for isolating the workloads. + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII3tjB4KYDok3KlWxdBp/yEmqhhmybd+w0VO4xUwLKKV" + ]; + }; }; }