Merge pull request #369 from NixOS/ci

fix test profile
This commit is contained in:
Jörg Thalheim 2022-02-02 09:48:22 +01:00 committed by GitHub
commit 9fc0e848f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

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

View file

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