diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-29 12:07:03 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-29 12:08:11 +0100 |
commit | a9cbfb6941b47d6f50129e6e36927882392daed7 (patch) | |
tree | 1083e304da5d0c4c9ebe2455b64e012db47d4cc2 /sys | |
parent | f5848198e4ec9a62c97ff7a90e6fe600f02a5f03 (diff) | |
download | nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar.gz nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar.bz2 nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar.lz nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar.xz nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.tar.zst nixlib-a9cbfb6941b47d6f50129e6e36927882392daed7.zip |
sys/mbp.nix: set up drm debugging
Diffstat (limited to 'sys')
-rw-r--r-- | sys/mbp.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/mbp.nix b/sys/mbp.nix index 7de3301889d8..f21ab657ae92 100644 --- a/sys/mbp.nix +++ b/sys/mbp.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ lib, pkgs, ... }: { imports = [ @@ -44,9 +44,14 @@ url = "https://lore.kernel.org/dri-devel/20231128090158.15564-1-tzimmermann@suse.de/raw"; hash = "sha256-aNj6GpLt5nOv41cXkJTxXhF3LDIF0Z31j0jsQac64yM="; }; + structuredExtraConfig = { + DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT = lib.kernel.yes; + }; } ]; + boot.kernelParams = [ "drm.debug=0x10" ]; + fileSystems."/" = { device = "/dev/disk/by-uuid/e5821c99-7507-421d-9280-de09a055d926"; fsType = "btrfs"; |