From 5e72718e38a6a7511dd363cf0d80e4e2c375754d Mon Sep 17 00:00:00 2001 From: catvayor Date: Thu, 28 Nov 2024 23:23:21 +0100 Subject: [PATCH] feat(orchid): root on virtiofs --- machines/kat-orchid/disks.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/machines/kat-orchid/disks.nix b/machines/kat-orchid/disks.nix index 16a2ee4..43ff88d 100644 --- a/machines/kat-orchid/disks.nix +++ b/machines/kat-orchid/disks.nix @@ -9,28 +9,21 @@ partitions = { ESP = { type = "EF00"; - size = "100M"; + size = "100%"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; - root = { - size = "100%"; - content = { - type = "filesystem"; - format = "bcachefs"; - mountpoint = "/"; - mountOptions = [ - "fsck" - "fix_errors" - ]; - }; - }; }; }; }; }; }; + boot.initrd.kernelModules = [ "virtiofs" ]; + fileSystems."/" = { + device = "root"; + fsType = "virtiofs"; + }; }