From b570a298a25d9eb020aaa6e1895bf6a36d51063b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Tue, 17 Jun 2025 03:15:20 +0300 Subject: [PATCH] Move SIIT-DC to Hetzner --- hosts/siit-dc/state.nix | 1 + shared/disko/hetzner-ext4.nix | 19 ++----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/hosts/siit-dc/state.nix b/hosts/siit-dc/state.nix index ef43817..f7841c0 100644 --- a/hosts/siit-dc/state.nix +++ b/hosts/siit-dc/state.nix @@ -1,5 +1,6 @@ { lib, modulesPath, ... }: { + boot.loader.grub.devices = [ "/dev/sda" ]; system.stateVersion = "25.05"; imports = [ diff --git a/shared/disko/hetzner-ext4.nix b/shared/disko/hetzner-ext4.nix index d6db7b8..44bae35 100644 --- a/shared/disko/hetzner-ext4.nix +++ b/shared/disko/hetzner-ext4.nix @@ -5,26 +5,11 @@ device = "/dev/sda"; type = "disk"; content = { - type = "gpt"; + type = "msdos"; partitions = { - boot = { - name = "boot"; - type = "EF02"; - size = "1M"; - }; - ESP = { - name = "ESP"; - type = "EF00"; - size = "512M"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = [ "umask=0077" ]; - }; - }; root = { name = "nixos"; + bootable = true; size = "100%"; content = { type = "filesystem";