From a2f761d5ef0e367ac407e9b719e2345ae632b45c Mon Sep 17 00:00:00 2001 From: harry Date: Sat, 12 Oct 2024 22:11:54 +0200 Subject: [PATCH] small update to proxmox image --- .gitignore | 2 +- hosts/dionysos/configuration.nix | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1cd791b..b2be92b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -result/ +result diff --git a/hosts/dionysos/configuration.nix b/hosts/dionysos/configuration.nix index cb3f10a..bdd3af2 100644 --- a/hosts/dionysos/configuration.nix +++ b/hosts/dionysos/configuration.nix @@ -1,4 +1,9 @@ -{ config, pkgs, ... }: +{ + config, + pkgs, + username, + ... +}: { environment.systemPackages = with pkgs; [ weechat @@ -10,4 +15,17 @@ enable = true; clock24 = true; }; + + system.stateVersion = "24.05"; + + users.users.${username} = { + isNormalUser = true; + + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA8sdToNavEQv7PTMJ97HIGM6UlChwGS3x9O8hFilzui harryh@ik.me" + ]; + }; + + users.users.${username}.initialHashedPassword = "$y$j9T$s4isXqWcg4N8TEPjmj0fD/$zog2cpUwstnvwDnQsFmH3br/WAeD2Uu/L7ePr00cKkA"; + environment.variables.EDITOR = "nvim"; }