From 0c55f0f776577c45cc9d05d2e0a38013b965d70b Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sun, 7 Sep 2025 01:15:31 +0200 Subject: [PATCH 1/2] tuxedo/pulse/15/gen2: load more internal modules --- tuxedo/pulse/15/gen2/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tuxedo/pulse/15/gen2/default.nix b/tuxedo/pulse/15/gen2/default.nix index 0afd6b3b..8ead6714 100644 --- a/tuxedo/pulse/15/gen2/default.nix +++ b/tuxedo/pulse/15/gen2/default.nix @@ -2,7 +2,12 @@ { imports = [ ../../../../common/cpu/amd + ../../../../common/cpu/amd/pstate.nix + ../../../../common/cpu/amd/zenpower.nix ../../../../common/gpu/amd + ../../../../common/hidpi.nix + ../../../../common/pc + ../../../../common/pc/laptop ../../../../common/pc/ssd ]; From 40dffd02e3fe00ad1a27fd1b8b0d059c253776da Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sun, 7 Sep 2025 21:38:07 +0000 Subject: [PATCH 2/2] tuxedo/pulse/15/gen2: defer amdgpu secure display warning to Stage 2 Defer the amdgpu secure display warning from Stage 1 to Stage 2, despite the initial decision [1] of reverting commit dd18dc771432 ("fix(tuxedo/pulse/15/gen2): prevent 'Secure display: Generic Failure' warning") with commit 80d98a7d55c6 ("feat(tuxedo/pulse/15/gen2): use default 'hardware.amdgpu.loadInInitrd'"). Since this noisy warning is an inherit property of this hardware, deferring it is the desired behavior. [1]: https://github.com/NixOS/nixos-hardware/pull/755#discussion_r1359669448 --- tuxedo/pulse/15/gen2/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tuxedo/pulse/15/gen2/default.nix b/tuxedo/pulse/15/gen2/default.nix index 8ead6714..edf3c363 100644 --- a/tuxedo/pulse/15/gen2/default.nix +++ b/tuxedo/pulse/15/gen2/default.nix @@ -11,6 +11,13 @@ ../../../../common/pc/ssd ]; + # Defer the following Stage 1 warning to Stage 2: + # + # loading module amdgpu... + # [...] amdgpu 0000:05:00.0: amdgpu: Secure display: Generic Failure. + # [...] amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0 + hardware.amdgpu.initrd.enable = false; + services.udev.extraRules = builtins.concatStringsSep "\n" ( [ "# Properly suspend the system." ] ++ (map