mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Follow best practice for getting package executables
This commit is contained in:
parent
88f6309cd4
commit
a90b2ed9fd
4 changed files with 9 additions and 8 deletions
|
|
@ -82,7 +82,7 @@ in {
|
|||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.syncthingtray-minimal}/bin/syncthingtray --wait";
|
||||
ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
|
|
@ -103,7 +103,7 @@ in {
|
|||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.networkmanagerapplet}/bin/nm-applet";
|
||||
ExecStart = "${lib.getExe pkgs.networkmanagerapplet}";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ in {
|
|||
|
||||
# Launch programs
|
||||
"$mod, RETURN, exec, $terminal"
|
||||
"$mod, V, exec, ${pkgs.cliphist}/bin/cliphist list | rofi -dmenu | ${pkgs.cliphist}/bin/cliphist decode | ${pkgs.wl-clipboard}/bin/wl-copy"
|
||||
"$mod, V, exec, ${lib.getExe pkgs.cliphist} list | rofi -dmenu | ${lib.getExe pkgs.cliphist} decode | ${lib.getExe' pkgs.wl-clipboard "wl-copy"}"
|
||||
"$mod, B, exec, $browser"
|
||||
"$mod, F, exec, $fileManager"
|
||||
"$mod, C, exec, $editor"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue