From 765dde3f0fc28a028d2414a5c5f57a46df08afc5 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 27 Nov 2025 21:53:23 -0600 Subject: [PATCH] fix: fixed gnome boxes --- configurations/nixos/emergent/configuration.nix | 7 +++++++ configurations/nixos/emergent/hardware-configuration.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configurations/nixos/emergent/configuration.nix b/configurations/nixos/emergent/configuration.nix index 156344e..bf6c553 100644 --- a/configurations/nixos/emergent/configuration.nix +++ b/configurations/nixos/emergent/configuration.nix @@ -69,6 +69,12 @@ }; }; + virtualisation.libvirtd.enable = true; + + users.users.eve = { + extraGroups = [ "libvirtd" ]; + }; + services.tailscale.enable = true; # We were having weird build errors so this is disabled right now # error: The option `devices.emergent.folders.eve_records.path' was accessed but has no value defined. Try setting the option @@ -110,6 +116,7 @@ environment.systemPackages = with pkgs; [ wget gnome-boxes + libvirt ]; # Packages that need to be installed with some extra configuration diff --git a/configurations/nixos/emergent/hardware-configuration.nix b/configurations/nixos/emergent/hardware-configuration.nix index 67149df..b077f9c 100644 --- a/configurations/nixos/emergent/hardware-configuration.nix +++ b/configurations/nixos/emergent/hardware-configuration.nix @@ -12,7 +12,7 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "wacom"]; + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "wacom" "kvm" "kvm_amd"]; boot.initrd.kernelModules = []; boot.kernelModules = []; boot.extraModulePackages = [];