mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
khd: don't depend on kwm directly
Iff the kwm service is enabled the commands will still be in the default PATH.
This commit is contained in:
parent
bd37b66faf
commit
4899b6658f
2 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,7 @@ in
|
|||
environment.etc."khdrc".text = cfg.khdConfig;
|
||||
|
||||
launchd.user.agents.khd = {
|
||||
path = [ cfg.package pkgs.kwm config.environment.systemPath ];
|
||||
path = [ cfg.package config.environment.systemPath ];
|
||||
|
||||
serviceConfig.ProgramArguments = [ "${cfg.package}/bin/khd" ]
|
||||
++ optionals (cfg.khdConfig != "") [ "-c" "/etc/khdrc" ];
|
||||
|
|
|
@ -33,6 +33,8 @@ in
|
|||
|
||||
security.accessibilityPrograms = [ "${cfg.package}/kwm" ];
|
||||
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
environment.etc."kwmrc".text = cfg.kwmConfig;
|
||||
|
||||
launchd.user.agents.kwm = {
|
||||
|
|
Loading…
Add table
Reference in a new issue