refactor(sys): systemModules -> ooknet
This commit is contained in:
parent
63c39a89ed
commit
104df464f9
52 changed files with 69 additions and 69 deletions
|
|
@ -3,13 +3,13 @@
|
|||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
hardware = config.systemModules.host.hardware.cpu;
|
||||
cpu = config.ooknet.host.hardware.cpu;
|
||||
in
|
||||
|
||||
{
|
||||
# TODO: put kvm/gvt behind virtualization module flag
|
||||
|
||||
config = mkIf (elem hardware.type ["intel"]) {
|
||||
config = mkIf (elem cpu.type ["intel"]) {
|
||||
boot = {
|
||||
kernelModules = ["kvm-intel"];
|
||||
kernelParams = ["i915.fastboot=1" "enable_gvt=1"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue