diff options
Diffstat (limited to '')
| -rw-r--r-- | nixos/common/services.nix | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/nixos/common/services.nix b/nixos/common/services.nix index 528363b..d63e547 100644 --- a/nixos/common/services.nix +++ b/nixos/common/services.nix @@ -1,2 +1,22 @@ {config, lib, pkgs, ...}: -{} +{ + + ## VM's + programs.dconf.enable = true; + programs.virt-manager.enable = true; + virtualisation = { + docker.enable = true; + libvirtd = { + enable = true; + qemu = { + swtpm.enable = true; + vhostUserPackages = with pkgs; [ virtiofsd ]; + ovmf.enable = true; + ovmf.packages = [ pkgs.OVMFFull.fd ]; + }; + }; + spiceUSBRedirection.enable = true; + }; + services.spice-vdagentd.enable = true; + +} |
