add kvmgt
This commit is contained in:
parent
d41cb34b15
commit
a0c84cac55
2 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
||||||
|
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
|
virtualisation.kvmgt = {
|
||||||
|
enable = true;
|
||||||
|
device = "0000:00:02.0";
|
||||||
|
};
|
||||||
hardware.trackpoint.enable = true;
|
hardware.trackpoint.enable = true;
|
||||||
services.hardware.bolt.enable = true;
|
services.hardware.bolt.enable = true;
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
boot.kernelParams = [ "intel_iommu=on" ];
|
boot.kernelParams = [ "intel_iommu=on" ];
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
virtualisation.kvmgt.enable = true;
|
virtualisation.kvmgt.enable = true;
|
||||||
|
users.extraUsers.cyryl.extraGroups = [ "kvm" ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
virtmanager qemu
|
virtmanager qemu
|
||||||
|
|
Loading…
Reference in a new issue