From 3e467230b137bade341ba84f9529fe0bbe338451 Mon Sep 17 00:00:00 2001 From: Fabrice Bellamy <12b@distrilab.fr> Date: Thu, 19 Dec 2024 15:05:57 +0100 Subject: [PATCH] add user for mrflos on arachnide server --- config/arachnide/configuration.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/config/arachnide/configuration.nix b/config/arachnide/configuration.nix index 85e8809..70a3dbc 100644 --- a/config/arachnide/configuration.nix +++ b/config/arachnide/configuration.nix @@ -85,12 +85,25 @@ # Configure console keymap console.keyMap = "fr"; - # Define a user account. Don't forget to set a password with 'passwd'. + # Define user accounts. Don't forget to set a password with 'passwd'. users.users.douzeb = { isNormalUser = true; description = "douze baie"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; []; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRG0CyeeMMrrjTTm/PHgRXD/I4lH/bBPBCGUiL+cBdq douzeb@tux-12" + ]; + }; + + users.users.mrflos = { + isNormalUser = true; + description = "mr flos"; + extraGroups = [ "networkmanager" "wheel" ]; + packages = with pkgs; []; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBBM+2TwkopAQF7splTWjORQoxjcp67VhodwzvTMlL8g florian@florian-LinuxMint-MBP" + ]; }; # Passwordless sudo for members of the wheel group