diff options
Diffstat (limited to 'system/settings/services')
-rw-r--r-- | system/settings/services/virtualisation.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/system/settings/services/virtualisation.nix b/system/settings/services/virtualisation.nix new file mode 100644 index 00000000..828c70eb --- /dev/null +++ b/system/settings/services/virtualisation.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: + +{ + virtualisation.libvirtd = { + enable = true; + onBoot = "ignore"; + onShutdown = "shutdown"; + qemu = { + package = pkgs.qemu_kvm; + ovmf.enable = true; + runAsRoot = false; + }; + }; + + environment.systemPackages = with pkgs; [ + virtmanager + OVMF + ]; +} |