1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-06 09:01:04 +01:00

hyprland: plugins use hyprctl from path (#6801)

This commit is contained in:
Amadej Kastelic 2025-04-11 14:59:55 +02:00 committed by GitHub
parent da624eaad0
commit e15c4203ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 6 deletions

View file

@ -291,9 +291,8 @@ in
let
mkEntry =
entry: if lib.types.package.check entry then "${entry}/lib/lib${entry.pname}.so" else entry;
hyprctl = "${cfg.finalPackage}/bin/hyprctl";
in
map (p: "${hyprctl} plugin load ${mkEntry p}") cfg.plugins;
map (p: "hyprctl plugin load ${mkEntry p}") cfg.plugins;
};
inherit (cfg) importantPrefixes;
};