Skip to content

Commit

Permalink
nixos/kmonad: use lib.getExe
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin committed Jan 1, 2025
1 parent f83da7d commit 8463300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/hardware/kmonad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ let
pkgs.writeTextFile {
name = "${mkName keyboard.name}.kbd";
text = lib.optionalString keyboard.defcfg.enable (defcfg + "\n") + keyboard.config;
checkPhase = "${cfg.package}/bin/kmonad -d $out";
checkPhase = "${lib.getExe cfg.package} -d $out";
};

# Build a systemd path config that starts the service below when a
Expand Down

0 comments on commit 8463300

Please sign in to comment.