From c6044ef7a3e24f4bce40c1409c39303217a767f9 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 18 Jan 2024 22:25:13 +0100 Subject: [PATCH] update hetzner config --- systems/hetzner/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/systems/hetzner/default.nix b/systems/hetzner/default.nix index 69ca8f5..60ddd94 100644 --- a/systems/hetzner/default.nix +++ b/systems/hetzner/default.nix @@ -28,6 +28,13 @@ time.timeZone = "Europe/Berlin"; + services.openssh.listenAddresses = [ + { + addr = "85.10.200.204"; + port = 22; + } + ]; + services.openssh.settings.PermitRootLogin = lib.mkForce "yes"; console = { @@ -37,7 +44,7 @@ disk = { one = { type = "disk"; - device = "/dev/nvme0n1"; + device = "/dev/disk/by-id/nvme-SAMSUNG_MZVL2512HCJQ-00B00_S675NX0RA55622"; content = { type = "gpt"; partitions = { @@ -65,7 +72,7 @@ }; two = { type = "disk"; - device = "/dev/nvme1n1"; + device = "/dev/disk/by-id/nvme-SAMSUNG_MZVL2512HCJQ-00B00_S675NX0RA55649"; content = { type = "gpt"; partitions = {