treewide: use 'lib.getExe' when possible

This commit is contained in:
Bruno BELANYI 2023-07-23 18:58:40 +01:00
parent 92b26e9d54
commit b8b3e51dc6
13 changed files with 24 additions and 28 deletions

View file

@ -47,8 +47,8 @@ in
command = mkOption {
type = types.str;
default = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
example = "\${pkgs.i3lock}/bin/i3lock -n -i lock.png";
default = "${lib.getExe pkgs.i3lock} -n -c 000000";
example = "\${lib.getExe pkgs.i3lock} -n -i lock.png";
description = "Locker command to run";
};