hardware/graphics: init from legacy

This commit is contained in:
Felix Buehler 2023-03-19 14:42:42 +01:00
parent 28b35bdd1c
commit 55964e1622
5 changed files with 41 additions and 20 deletions

View file

@ -1,4 +1,7 @@
{ config, lib, ... }:
let
cpuFlavor = "intel";
in
{
# video driver
boot.initrd.kernelModules = [ "i915" ];
@ -8,13 +11,14 @@
my.hardware = {
bluetooth.enable = true;
firmware = {
enable = true;
cpuFlavor = cpuFlavor;
};
graphics.cpuFlavor = cpuFlavor;
keychron.enable = true;
nitrokey.enable = true;
sound.enable = true;
thunderbolt.enable = true;
firmware = {
enable = true;
cpuFlavor = "intel";
};
};
}