Skip to content

bug: wayland.windowManager.hyprland.settings.exec-once sets non-existent hl.exec-once #9341

Description

@kk-spartans

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Setting exec-once in my home-manager config for hyprland writes:

hl.exec-once("spotify")

to hyprland.lua. This is invalid, and makes hyprland fallback to the default config. The wiki reccomends using:

hl.on("hyprland.start", function () 
   hl.exec_cmd("spotify")
end)

Maintainer CC

@fufexan

System information

- system: `"x86_64-linux"`
 - host os: `Linux 7.0.5, NixOS, 26.05 (Yarara), 26.05.20260510.da5ad66`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.34.7`
 - nixpkgs: `/nix/store/vp1i814m5cqfzh22bl76s1k9bc8iikkv-source`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageIssues or feature request that have not been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions