From 518a4d6af3788e28a99a3fd8e667793c6d1e673a Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 20 Jun 2023 12:48:00 +0200 Subject: [PATCH] Add rpenacob user --- m/common/ssh.nix | 3 +++ m/common/users.nix | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/m/common/ssh.nix b/m/common/ssh.nix index 3e5bbd6..c09e3f3 100644 --- a/m/common/ssh.nix +++ b/m/common/ssh.nix @@ -28,6 +28,9 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF3zeB5KSimMBAjvzsp1GCkepVaquVZGPYwRIzyzaCba aleix@bsc" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdphWxLAEekicZ/WBrvP7phMyxKSSuLAZBovNX+hZXQ aleix@kerneland" ]; + rpenacob.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYfXg37mauGeurqsLpedgA2XQ9d4Nm0ZGo/hI1f7wwH rpenacob@bsc" + ]; }; programs.ssh.knownHosts = { diff --git a/m/common/users.nix b/m/common/users.nix index be34db7..ce35487 100644 --- a/m/common/users.nix +++ b/m/common/users.nix @@ -23,6 +23,15 @@ extraGroups = [ "wheel" ]; hashedPassword = "$6$hliZiW4tULC/tH7p$pqZarwJkNZ7vS0G5llWQKx08UFG9DxDYgad7jplMD8WkZh5k58i4dfPoWtnEShfjTO6JHiIin05ny5lmSXzGM/"; }; + + rpenacob = { + uid = 2761; + isNormalUser = true; + home = "/home/Computational/rpenacob"; + description = "Raúl Penacoba"; + group = "Computational"; + hashedPassword = "$6$TZm3bDIFyPrMhj1E$uEDXoYYd1z2Wd5mMPfh3DZAjP7ztVjJ4ezIcn82C0ImqafPA.AnTmcVftHEzLB3tbe2O4SxDyPSDEQgJ4GOtj/"; + }; }; groups = {