]> git.dkaiser.de - config/nixos.git/commitdiff
Add user dk to antares
authorDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 10:24:23 +0000 (11:24 +0100)
committerDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 10:24:23 +0000 (11:24 +0100)
hosts/antares/configuration.nix

index f942e6d87de194361df4bd14794a3bf98b302432..a32bb61f90cde7325ce4965654a47209b0bdb166 100644 (file)
   };
   services.openssh.enable = true;
 
+  networking.hostName = "antares";
+  time.timeZone = "Europe/Berlin";
+
+
+
   environment.systemPackages = map lib.lowPrio [
     pkgs.curl
     pkgs.gitMinimal
   ];
 
+  users.users.dk = {
+    isNormalUser = true;
+    description = "Dominik Kaiser";
+    extraGroups = [ "wheel" ];
+    openssh.authorizedKeys.keys = [
+      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICtL2eG098LhkFPR4N5e44XMq60uvCUCOuKMYs5zjg6f"
+    ];
+  };
   users.users.root.openssh.authorizedKeys.keys = [
     # change this to your ssh key
     "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICtL2eG098LhkFPR4N5e44XMq60uvCUCOuKMYs5zjg6f dk@nixos"