mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
This allows to combine several such options to get the right hex value without any repeated kernel params. Before this, the framework AI 300 got both 0x10 and 0x410 on the cmdline with the order depending on the module system eval order. This also allows users to re-enable PSR on framework machines.
17 lines
310 B
Nix
17 lines
310 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [ ./dc-debug-mask.nix ];
|
|
|
|
config = {
|
|
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
|
|
|
|
hardware.graphics = {
|
|
enable = lib.mkDefault true;
|
|
enable32Bit = lib.mkDefault true;
|
|
};
|
|
|
|
hardware.amdgpu.initrd.enable = lib.mkDefault true;
|
|
};
|
|
}
|