mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
same but different vfio setup
This commit is contained in:
parent
630268b08d
commit
23e2e2b80d
1 changed files with 10 additions and 11 deletions
|
|
@ -139,10 +139,9 @@ in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
virtualisation.libvirtd.hooks.qemu = {
|
||||||
systemd.tmpfiles.rules =
|
"AAA" = lib.getExe (
|
||||||
let
|
pkgs.writeShellApplication {
|
||||||
qemuHook = pkgs.writeShellApplication {
|
|
||||||
name = "qemu-hook";
|
name = "qemu-hook";
|
||||||
|
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
|
|
@ -186,12 +185,12 @@ in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
}
|
||||||
in
|
);
|
||||||
[
|
};
|
||||||
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
|
systemd.tmpfiles.rules = [
|
||||||
"L+ /var/lib/libvirt/hooks/qemu - - - - ${lib.getExe qemuHook}"
|
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
|
||||||
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
|
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
|
||||||
];
|
];
|
||||||
#_file
|
#_file
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue