added an ssh key for neo

This commit is contained in:
Henrik
2025-10-26 15:14:09 +01:00
parent 665bd1d1f4
commit 3cd6c1c941
5 changed files with 28 additions and 17 deletions

View File

@@ -3,7 +3,7 @@
{
imports = [
./users/users.nix
./modules/ssh.nix
./modules/security.nix
./vps/hetzner/hardware-configuration.nix
./modules/zsh.nix
];
@@ -54,9 +54,9 @@
diskSize = 5000; # 5GB, needed to prevent docker error running out of space
# Networking configuration
#forwardPorts = [
# { from = "host"; host.port = 2222; guest.port = 22; }
#];
forwardPorts = [
{ from = "host"; host.port = 2222; guest.port = 22; }
];
};
# Add VM-specific users
@@ -69,8 +69,6 @@
packages = with pkgs; [ ];
};
security.sudo.wheelNeedsPassword = false;
# VM-specific packages
environment.systemPackages = with pkgs; [
];