From 28c12483f6a06d80b7e9b9e147925ccf2de54781 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 24 Feb 2026 21:43:03 -0500 Subject: [PATCH] new server migration --- clients/quadraticserver/boot.nix | 7 +++++++ clients/quadraticserver/disko.nix | 8 +++----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 clients/quadraticserver/boot.nix diff --git a/clients/quadraticserver/boot.nix b/clients/quadraticserver/boot.nix new file mode 100644 index 0000000..48c468a --- /dev/null +++ b/clients/quadraticserver/boot.nix @@ -0,0 +1,7 @@ +{ modulesPath, ... }: +{ + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/profiles/qemu-guest.nix") + ]; +} diff --git a/clients/quadraticserver/disko.nix b/clients/quadraticserver/disko.nix index b965a90..abe0a54 100644 --- a/clients/quadraticserver/disko.nix +++ b/clients/quadraticserver/disko.nix @@ -1,16 +1,13 @@ { inputs, ... }: { imports = [ inputs.disko.nixosModules.disko ]; + disko.devices.disk.main = { type = "disk"; - device = "/dev/sda"; + device = "/dev/vda"; content = { type = "gpt"; partitions = { - boot = { - size = "1M"; - type = "EF02"; # for grub MBR - }; ESP = { size = "1G"; type = "EF00"; @@ -21,6 +18,7 @@ mountOptions = [ "umask=0077" ]; }; }; + root = { size = "100%"; content = {