From 2a37ea8fbcce9bb97be1a6e36ae1faa9dd58f68c Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Mon, 25 May 2026 09:51:06 +0200 Subject: [PATCH] fix(kratos): launch Hyprland via wrapper from greetd --- hosts/m3-kratos/services/greetd.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/m3-kratos/services/greetd.nix b/hosts/m3-kratos/services/greetd.nix index d3e913b..a675ad4 100644 --- a/hosts/m3-kratos/services/greetd.nix +++ b/hosts/m3-kratos/services/greetd.nix @@ -7,9 +7,9 @@ ... }: let tuigreet = "${lib.getExe pkgs.tuigreet}"; - # Use Hyprland directly - tuigreet's --cmd finds it via PATH - # Using the simple binary name allows greetd to launch it properly - hyprlandCmd = "Hyprland"; + # Use start-hyprland wrapper to avoid Hyprland startup warnings + # withUWSM=true is set in programs.nix; start-hyprland handles this correctly + hyprlandCmd = "${config.programs.hyprland.package}/bin/start-hyprland"; in { services.greetd = { enable = true;