diff --git a/machines/kat-manah/default.nix b/machines/kat-manah/default.nix index c7c80dd..ba00500 100644 --- a/machines/kat-manah/default.nix +++ b/machines/kat-manah/default.nix @@ -79,7 +79,10 @@ ]; programs.virt-manager.enable = true; - virtualisation.libvirtd.enable = true; + virtualisation.libvirtd = { + enable = true; + qemu.vhostUserPackages = [ pkgs.virtiofsd ]; + }; security.acme = { acceptTerms = true; diff --git a/machines/kat-son/disks.nix b/machines/kat-son/disks.nix index 16a2ee4..43ff88d 100644 --- a/machines/kat-son/disks.nix +++ b/machines/kat-son/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"; + }; }