change virtualisation config
This commit is contained in:
parent
d288e044a0
commit
512a3b36ea
|
@ -1,5 +1,8 @@
|
||||||
{ config, pkgs, username, ... }:
|
{ config, pkgs, username, ... }:
|
||||||
{
|
{
|
||||||
|
# Enable dconf (System Management Tool)
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
# Add user to libvirtd group
|
# Add user to libvirtd group
|
||||||
users.users.${username}.extraGroups = [ "libvirtd" ];
|
users.users.${username}.extraGroups = [ "libvirtd" ];
|
||||||
|
|
||||||
|
@ -7,22 +10,15 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
virt-manager
|
virt-manager
|
||||||
virt-viewer
|
virt-viewer
|
||||||
spice
|
spice spice-gtk
|
||||||
spice-gtk
|
|
||||||
spice-protocol
|
spice-protocol
|
||||||
win-virtio
|
win-virtio
|
||||||
win-spice
|
win-spice
|
||||||
gnome.adwaita-icon-theme
|
gnome.adwaita-icon-theme
|
||||||
virtiofsd
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Manage the virtualisation services
|
# Manage the virtualisation services
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
vmware.host = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.vmware-workstation;
|
|
||||||
};
|
|
||||||
|
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemu = {
|
qemu = {
|
||||||
|
@ -34,4 +30,4 @@
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
services.spice-vdagentd.enable = true;
|
services.spice-vdagentd.enable = true;
|
||||||
}
|
}
|
Loading…
Reference in a new issue