From 6dd3c4b6e218147e3b6b8d897ffef32cf7e685a5 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Mon, 13 Apr 2026 13:33:40 +0100 Subject: [PATCH] fix: include nomarchy flake in VM at /etc/nomarchy --- core/system/vm-guest.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/system/vm-guest.nix b/core/system/vm-guest.nix index f600744..ac73040 100644 --- a/core/system/vm-guest.nix +++ b/core/system/vm-guest.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ inputs, lib, ... }: { # Shared VM configuration @@ -12,6 +12,9 @@ services.qemuGuest.enable = true; services.xserver.videoDrivers = [ "qxl" "virtio" "modesetting" ]; + # Provide the flake to the VM for local rebuilding + environment.etc."nomarchy".source = lib.mkDefault inputs.self; + # Dummy hardware config for VM fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; }; boot.loader.grub.device = lib.mkDefault "/dev/vda";