sarien: move to nixos-hardware

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-30 15:22:47 +03:00
parent 1d80084950
commit 99b62d5194
4 changed files with 41 additions and 57 deletions

View File

@ -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";
};
}

View File

@ -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";
};
}