summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-16 11:24:23 +0100
committerDominik Kaiser2025-02-16 11:24:23 +0100
commitf4f4e6e7f5a63effc39098188d74655fc46acae3 (patch)
treebe620fa8f4345a3144b521c625361513c1a140ae
parent78e3f63b64ebe4429b2c9b4a122236387688b4ae (diff)
downloadnixos-f4f4e6e7f5a63effc39098188d74655fc46acae3.tar.gz
nixos-f4f4e6e7f5a63effc39098188d74655fc46acae3.zip
Add user dk to antares
-rw-r--r--hosts/antares/configuration.nix13
1 files changed, 13 insertions, 0 deletions
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"