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 = [