feat(hardware): Add kernelParams for all machines so that virtualisation is possible
This commit is contained in:
parent
2e4f7d98c4
commit
45edfee048
2 changed files with 6 additions and 7 deletions
|
@ -29,6 +29,12 @@ in {
|
|||
initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "ehci_pci" "virtio_pci" "ahci" "virtio_blk" ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelParams = [
|
||||
"cgroup_enable=cpu"
|
||||
"cgroup_enable=cpuset"
|
||||
"cgroup_enable=memory"
|
||||
"cgroup_memory=1"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue