same but different vfio setup

This commit is contained in:
Gerg-L 2024-02-16 20:06:01 -05:00
parent 630268b08d
commit 23e2e2b80d
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -139,10 +139,9 @@ in
fi
'';
systemd.tmpfiles.rules =
let
qemuHook = pkgs.writeShellApplication {
virtualisation.libvirtd.hooks.qemu = {
"AAA" = lib.getExe (
pkgs.writeShellApplication {
name = "qemu-hook";
runtimeInputs = [
@ -186,12 +185,12 @@ in
fi
'';
};
in
[
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
"L+ /var/lib/libvirt/hooks/qemu - - - - ${lib.getExe qemuHook}"
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
];
}
);
};
systemd.tmpfiles.rules = [
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
];
#_file
}