From 3f2f9d307fe58c6abe2a16eb9b62c42d53ef5ee1 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Wed, 18 Mar 2026 01:00:48 +0100 Subject: [PATCH] stylix/testbed: hyprland: resolve testbed startup warning (#2220) Resolve the testbed startup warning by starting Hyprland in safe mode, following upstream commit [1] ("start: init start-hyprland and safe mode (#12484)"). [1]: https://github.com/hyprwm/Hyprland/commit/016eb7a23db54cb33ed722f682c7171027a91945 Fixes: a525e4774f25 ("flake: update all inputs (#2117)") Link: https://github.com/nix-community/stylix/pull/2220 Reviewed-by: 0xda157 Reviewed-by: skoove --- stylix/testbed/graphical-environments/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylix/testbed/graphical-environments/hyprland.nix b/stylix/testbed/graphical-environments/hyprland.nix index 82ca8209..84d4c1cf 100644 --- a/stylix/testbed/graphical-environments/hyprland.nix +++ b/stylix/testbed/graphical-environments/hyprland.nix @@ -8,7 +8,7 @@ config = lib.mkIf (config.stylix.testbed.ui.graphicalEnvironment or null == "hyprland") { - environment.loginShellInit = lib.getExe pkgs.hyprland; + environment.loginShellInit = lib.getExe' pkgs.hyprland "start-hyprland"; programs.hyprland.enable = true; environment.systemPackages = [ # dex looks for `x-terminal-emulator` when running a terminal program