mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-01 05:23:29 +01:00
2 files changed
+3
-4
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user