From 57d191b837e119ff87a4bab00a3b9962e6b922d6 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 6 Feb 2024 22:16:04 +0100 Subject: [PATCH] create directory share for dnsmasw leases --- nixos/machines/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/machines/default.nix b/nixos/machines/default.nix index 00e1851..2560698 100644 --- a/nixos/machines/default.nix +++ b/nixos/machines/default.nix @@ -75,6 +75,14 @@ staticIPv6 = config.lab.networking.dmz.ipv6.services; }; }; + + microvm.shares = [{ + source = "/data/vm_shares/${config.networking.hostName}/dnsmasq"; + mountPoint = "/var/lib/dnsmasq"; + tag = "dnsmasq"; + proto = "virtiofs"; + socket = "dnsmasq.sock"; + }]; }; };