From c1d2cdc7c1ace6f644fd615c94888ab3fd6d8fda Mon Sep 17 00:00:00 2001 From: Hans van Zijst Date: Wed, 13 Nov 2024 13:43:26 +0100 Subject: [PATCH] Added users laurens and valentin, system.stateVersion changed from 24.11 to 23.11. --- server/configuration.nix | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/server/configuration.nix b/server/configuration.nix index fd263e17..a6b4f063 100644 --- a/server/configuration.nix +++ b/server/configuration.nix @@ -208,7 +208,25 @@ packages = with pkgs; [ ]; }; - + users.users.laurens = { + isNormalUser = true; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbK4ZB0Xnpf8yyK4QOI2HvjgQINI3GKi7/O2VEsYXUb laurenshof@Laurenss-MacBook-Air.local" + ]; + packages = with pkgs; [ + ]; + }; + users.users.valentin = { + isNormalUser = true; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJg5TlS1NGCRZwMjDgBkXeFUXqooqRlM8fJdBAQ4buPg" + ]; + packages = with pkgs; [ + ]; + }; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ (pkgs.vim_configurable.customize { @@ -251,7 +269,7 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.11"; # Did you read the comment? + system.stateVersion = "23.11"; # Did you read the comment? }