diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-04-01 23:01:16 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-04-01 23:01:16 +0200 |
| commit | 24044692ced9fa35c12a35ed1e3fb692180f72fc (patch) | |
| tree | 6a105d3115699eb5e38a122c4c80b9c4778c696d /nixos/common/services.nix | |
| parent | 619dbeaa76460e967134daca8bd35aeb23591eec (diff) | |
virtualisation and docker
Diffstat (limited to 'nixos/common/services.nix')
| -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; + +} |
