From e0d1fbb95f3da973da9dd481b73cf0ffe39f5a9c Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Fri, 7 Aug 2026 12:48:54 -0500 Subject: [PATCH] Fix Manticore VM data mount and startup --- host-specific/othinus/manticore-vm.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/host-specific/othinus/manticore-vm.nix b/host-specific/othinus/manticore-vm.nix index ce39fa2..a3e065c 100644 --- a/host-specific/othinus/manticore-vm.nix +++ b/host-specific/othinus/manticore-vm.nix @@ -78,15 +78,6 @@ let }; boot.initrd.availableKernelModules = [ "virtiofs" ]; - fileSystems."/var/lib/manticore" = { - device = "manticore-data"; - fsType = "virtiofs"; - neededForBoot = true; - options = [ - "rw" - "relatime" - ]; - }; services = { manticore = { @@ -115,6 +106,8 @@ let }; }; + systemd.services.manticore.serviceConfig.SystemCallFilter = lib.mkAfter [ "mincore" ]; + security.sudo.wheelNeedsPassword = false; virtualisation = { @@ -122,6 +115,15 @@ let memorySize = 24576; diskSize = 8192; graphics = false; + fileSystems."/var/lib/private/manticore" = { + device = "manticore-data"; + fsType = "virtiofs"; + neededForBoot = true; + options = [ + "rw" + "relatime" + ]; + }; qemu = { enableSharedMemory = true; forceAccel = true; -- 2.51.2