From 6521b948b264150af1c4c216d354098cb27606ce Mon Sep 17 00:00:00 2001 From: 0x76 Date: Sat, 23 Dec 2023 21:33:16 +0100 Subject: [PATCH] add julia to lucy --- nixos/hosts/hades/lucy/configuration.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/nixos/hosts/hades/lucy/configuration.nix b/nixos/hosts/hades/lucy/configuration.nix index 01ed7b70..b1548516 100644 --- a/nixos/hosts/hades/lucy/configuration.nix +++ b/nixos/hosts/hades/lucy/configuration.nix @@ -24,8 +24,7 @@ let doCheck = false; }; -in -{ +in { imports = [ ./hardware-configuration.nix ]; # This value determines the NixOS release from which the default @@ -37,10 +36,7 @@ in system.stateVersion = "23.05"; # Did you read the comment? # Additional packages - environment.systemPackages = with pkgs; [ - jq - jre_minimal - ]; + environment.systemPackages = with pkgs; [ jq wget jre8 ]; boot.loader = { systemd-boot.enable = true; @@ -54,4 +50,16 @@ in }; users.extraUsers.laura.extraGroups = [ "wheel" ]; + users.groups.mc = { }; + + users.extraUsers.julia = { + isNormalUser = true; + shell = pkgs.zsh; + + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKTvqk+CJG4VwN8wg3H1ZdbUVj1JuX7RYKH1ewRKfCPv julia@juliadijkstraarch" + ]; + + extraGroups = [ "mc" "wheel" ]; + }; }