Update hosts/focalor/vfio.nix
This commit is contained in:
parent
8cd6aa6afe
commit
a4f5e92303
1 changed files with 0 additions and 18 deletions
|
@ -37,24 +37,6 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
[ env ];
|
[ env ];
|
||||||
|
|
||||||
/*preStart =
|
|
||||||
''
|
|
||||||
mkdir -p /var/lib/libvirt/hooks
|
|
||||||
mkdir -p /var/lib/libvirt/hooks/qemu.d/win10/prepare/begin
|
|
||||||
mkdir -p /var/lib/libvirt/hooks/qemu.d/win10/release/end
|
|
||||||
mkdir -p /var/lib/libvirt/vgabios
|
|
||||||
|
|
||||||
ln -sf /home/regent/symlinks/qemu /var/lib/libvirt/hooks/qemu
|
|
||||||
ln -sf /home/regent/symlinks/kvm.conf /var/lib/libvirt/hooks/kvm.conf
|
|
||||||
ln -sf /home/regent/symlinks/start.sh /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh
|
|
||||||
ln -sf /home/regent/symlinks/stop.sh /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh
|
|
||||||
|
|
||||||
chmod +x /var/lib/libvirt/hooks/qemu
|
|
||||||
chmod +x /var/lib/libvirt/hooks/kvm.conf
|
|
||||||
chmod +x /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh
|
|
||||||
chmod +x /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh
|
|
||||||
'';*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.extraUsers.regent.extraGroups = [ "libvirtd" ];
|
users.extraUsers.regent.extraGroups = [ "libvirtd" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue