diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index c72fd29..362580d 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -96,6 +96,24 @@ thermald.enable = true; }; + virtualisation.libvirtd = { + enable = true; + qemu = { + package = pkgs.qemu_kvm; + runAsRoot = true; + swtpm.enable = true; + ovmf = { + enable = true; + packages = [ + (pkgs.OVMF.override { + secureBoot = true; + tpmSupport = true; + }).fd + ]; + }; + }; + }; + stylix = { enable = true; autoEnable = true; @@ -158,7 +176,7 @@ users.users.k = { isNormalUser = true; description = "k"; - extraGroups = ["networkmanager" "wheel"]; + extraGroups = ["networkmanager" "wheel" "cdrom" "libvirtd"]; packages = with pkgs; [nushell]; shell = pkgs.nushell; };