diff --git a/configuration/hosts/samhain/configuration.nix b/configuration/hosts/samhain/configuration.nix index ae09ad3a..39e911c3 100644 --- a/configuration/hosts/samhain/configuration.nix +++ b/configuration/hosts/samhain/configuration.nix @@ -19,6 +19,16 @@ boot.loader.efi.canTouchEfiVariables = true; boot.supportedFilesystems = [ "zfs" "xfs" ]; + virtualisation.libvirtd = { + enable = true; + qemuOvmf = true; + qemuRunAsRoot = false; + onBoot = "ignore"; + onShutdown = "shutdown"; + }; + + users.users.kat.extraGroups = [ "libvirtd" ]; + # video=efifb:off allows the 580 to be passed through regardless of being the boot display and allows the 560 to act as a console device # pci=noats means that it doesn't kernel panic on my specific configuration boot.kernelParams = [ diff --git a/configuration/profiles/development/default.nix b/configuration/profiles/development/default.nix index 107a26da..078c62b8 100644 --- a/configuration/profiles/development/default.nix +++ b/configuration/profiles/development/default.nix @@ -1,14 +1,6 @@ { config, lib, pkgs, ... }: { - virtualisation.libvirtd = { - enable = true; - qemuOvmf = true; - qemuRunAsRoot = false; - onBoot = "ignore"; - onShutdown = "shutdown"; - }; - users.users.kat.extraGroups = [ "libvirtd" ]; environment.systemPackages = let python-env = python-packages: