diff --git a/configuration.nix b/configuration.nix index b2b2fc5..33ec4b4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -66,8 +66,14 @@ in networking.firewall.allowPing = true; networking.firewall.allowedTCPPorts = [ 22 80 443 ]; + users.users.daniel = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + security.sudo.wheelNeedsPassword = false; + services.openssh.enable = true; - users.users.root.openssh.authorizedKeys.keys = [ + users.users.daniel.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJXYJZfEOgccfCa3uQV9z2rHvGn4AuVnXbIDXv27HgEk vanilla@arch-xps" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOzk0SnRBJhpfNpPBgkReQoDpul2Egl2yJhRw7ldYEzF NixOS" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAoyFSuik6XRU2b+O4v9C1bc7rKJyjKgzUeaBaVNQKN6 vanilla-pinebook"