From ca18a9d29d5726b05c7e8cdfd369084a0a4434bb Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Fri, 17 Jul 2026 09:18:24 +1000 Subject: [PATCH] update configuration --- modules/disko/proxmox.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/disko/proxmox.nix b/modules/disko/proxmox.nix index 649ec9a..1010d74 100644 --- a/modules/disko/proxmox.nix +++ b/modules/disko/proxmox.nix @@ -10,9 +10,22 @@ type = "gpt"; partitions = { - root = { + swap = { priority = 1; - size = "-8G"; + size = "8G"; + + content = { + type = "swap"; + extraArgs = [ + "-L" + "swap" + ]; + }; + }; + + root = { + priority = 2; + size = "100%"; content = { type = "filesystem"; @@ -24,19 +37,6 @@ ]; }; }; - - swap = { - priority = 2; - size = "100%"; - - content = { - type = "swap"; - extraArgs = [ - "-L" - "swap" - ]; - }; - }; }; }; };