mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 12:09:45 +01:00
commit
9fc0e848f5
2 changed files with 3 additions and 4 deletions
|
@ -13,9 +13,8 @@
|
|||
boot.kernelParams = ["amdgpu.backlight=0" "acpi_backlight=none"];
|
||||
|
||||
# Wifi support
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
|
||||
hardware.firmware = [ pkgs.rtw89-firmware ];
|
||||
|
||||
# For support of newer AMD GPUs, backlight and internal microphone
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.13") pkgs.linuxPackages_latest;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ profile }:
|
||||
|
||||
let
|
||||
shim = {
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
shim = { config, ... }: {
|
||||
boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable;
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||||
|
|
Loading…
Reference in a new issue