sarien: move to nixos-hardware
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -39,7 +39,6 @@
|
||||
];
|
||||
initrd = {
|
||||
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||
kernelModules = ["i915"];
|
||||
systemd.enable = true; # needed for auto-unlocking with TPM
|
||||
};
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
@ -53,9 +52,4 @@
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
console = {
|
||||
earlySetup = true;
|
||||
packages = [pkgs.terminus_font];
|
||||
font = "${pkgs.terminus_font}/share/consolefonts/ter-c18n.psf.gz";
|
||||
};
|
||||
}
|
||||
|
@ -8,11 +8,10 @@
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
common-cpu-amd-pstate
|
||||
common-gpu-intel
|
||||
common-hidpi
|
||||
common-pc-ssd
|
||||
];
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.intelgpu.vaapiDriver = "intel-media-driver";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
intelgpu.vaapiDriver = "intel-media-driver";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user