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"];
# 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;
}
}

View File

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