From f4f4e6e7f5a63effc39098188d74655fc46acae3 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Sun, 16 Feb 2025 11:24:23 +0100 Subject: [PATCH] Add user dk to antares --- hosts/antares/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index f942e6d..a32bb61 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -18,11 +18,24 @@ }; 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" -- 2.47.2