Hyprland debug logs

I am trying to enable the debug logs for hyprland and I get the follow error telling me they are disabled when I launch hyprland

I am using the following home-manager config to launch hyprland which I think implements how hyprland wants debugging enabled (Contributing and Debugging – Hyprland Wiki)

wayland.windowManager.hyprland = {
  enable = true;
  package = pkgs.hyprland.override {
    debug = true;
  };
  settings = {
    bind = [
      "$mod, P, exec, dmenu-wl_run -i"
    ]
  };
};

This compiles and hyprland works however I still get the error that logs are disabled as per the screenshot above.

How can I enable logging for hyprland when using nixos + homemanager?

The debug = true; here is an argument to the Hyprland package that makes it a Debug build rather than a RelWithDebInfo one. This is intended for interactively debugging it using a debugger program. It has nothing to do with home-manager and does not implement what the log message asks for.

Please follow the link in the log message and set the hyprland config accordingly.

I see thanks @Atemu

Based on the error message I’ve just updated my home.nix to look like this:

wayland.windowManager.hyprland = {
  enable = true;
  package = pkgs.hyprland;
  settings = {
    bind = [
      "$mod, P, exec, dmenu-wl_run -i"
    ]
    debug = {
      disable_logs = false;
    };
  };
};

Yet still am getting the same error when starting hyprland.

Hyprland sends the debug message regardless of what debug.disable_logs is set to.

I don’t see this as an issue, but it could be nice to get confirmation that yes they have actually been enabled.