mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +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"];
|
boot.kernelParams = ["amdgpu.backlight=0" "acpi_backlight=none"];
|
||||||
|
|
||||||
# Wifi support
|
# Wifi support
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
|
|
||||||
hardware.firmware = [ pkgs.rtw89-firmware ];
|
hardware.firmware = [ pkgs.rtw89-firmware ];
|
||||||
|
|
||||||
# For support of newer AMD GPUs, backlight and internal microphone
|
# For support of newer AMD GPUs, backlight and internal microphone
|
||||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.13") pkgs.linuxPackages_latest;
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.13") pkgs.linuxPackages_latest;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ profile }:
|
{ profile }:
|
||||||
|
|
||||||
let
|
let
|
||||||
shim = {
|
shim = { config, ... }: {
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable;
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||||||
|
|
Loading…
Reference in a new issue