From 5cdea7dd1aa1d33a5daf32631d601ec321a7ee77 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 3 May 2026 00:01:07 -0700 Subject: [PATCH] hyprland: launch through start wrapper --- nixos/hyprland.nix | 2 +- nixos/remote-hyprland.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index 211a90b6..44bc3253 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -55,7 +55,7 @@ printf '%s\n' \ '#!${pkgs.runtimeShell}' \ 'config_path="''${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprland.lua"' \ - 'exec "${package}/bin/Hyprland" --config "$config_path" "$@"' \ + 'exec "${package}/bin/start-hyprland" --path "${package}/bin/Hyprland" -- --config "$config_path" "$@"' \ > "$out/bin/start-hyprland-lua" chmod +x "$out/bin/start-hyprland-lua" diff --git a/nixos/remote-hyprland.nix b/nixos/remote-hyprland.nix index ac6ffed9..cd54e463 100644 --- a/nixos/remote-hyprland.nix +++ b/nixos/remote-hyprland.nix @@ -117,7 +117,7 @@ let After = [ "default.target" ]; }; Service = { - ExecStart = "${hyprlandPackage}/bin/Hyprland --socket ${cfg.socket} --config ${remoteHyprlandConfig}"; + ExecStart = "${hyprlandPackage}/bin/start-hyprland --path ${hyprlandPackage}/bin/Hyprland -- --socket ${cfg.socket} --config ${remoteHyprlandConfig}"; Restart = "on-failure"; RestartSec = 5; Environment = [