Those virtualisation things should've been in that file. Oops.

This commit is contained in:
kat witch 2021-01-06 05:20:12 +00:00 committed by kat
parent 1383d88b11
commit bdbefcb23c
2 changed files with 10 additions and 8 deletions

View file

@ -19,6 +19,16 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "zfs" "xfs" ]; 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 # 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 # pci=noats means that it doesn't kernel panic on my specific configuration
boot.kernelParams = [ boot.kernelParams = [

View file

@ -1,14 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
virtualisation.libvirtd = {
enable = true;
qemuOvmf = true;
qemuRunAsRoot = false;
onBoot = "ignore";
onShutdown = "shutdown";
};
users.users.kat.extraGroups = [ "libvirtd" ];
environment.systemPackages = let environment.systemPackages = let
python-env = python-packages: python-env = python-packages: