Use binaries from $PATH

Do not link against raw pkgs version.
They might be adjusted.
Use the ones from PATH.
This commit is contained in:
Daniel Siepmann 2022-08-15 08:41:53 +02:00
parent 97aa38df93
commit 42081fc2a9
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
5 changed files with 8 additions and 8 deletions

View file

@ -111,7 +111,7 @@
};
"mergetool \"nvimdiff4\"" = {
cmd = "${pkgs.neovim}/bin/nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J' -c 'diffoff'";
cmd = "nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J' -c 'diffoff'";
};
};
}

View file

@ -17,7 +17,7 @@
# Use screen instead of tmux as some tools might not be aware of tmux
terminal = "screen-256color";
shell = "${pkgs.zsh}/bin/zsh";
shell = "zsh";
sensibleOnTop = false;

View file

@ -1,4 +1,4 @@
{ config, pkgs }:
{ config }:
let
modifier = config.xsession.windowManager.i3.config.modifier;
@ -13,7 +13,7 @@ in {
defaultWorkspace = "workspace 1";
menu = "${pkgs.i3}/bin/i3-dmenu-desktop";
menu = "i3-dmenu-desktop";
fonts = {
names = [ "monospace" ];
@ -67,7 +67,7 @@ in {
workspaceButtons = true;
workspaceNumbers = true;
statusCommand = "${pkgs.i3blocks}/bin/i3blocks";
statusCommand = "i3blocks";
fonts = {
names = ["monospace"];

View file

@ -122,12 +122,12 @@
toggl = {
name = "Toggl Time Tracking";
type = "Application";
exec = "${pkgs.firefox}/bin/firefox --class=\"time-tracking\" --new-instance -P toggl https://track.toggl.com/timer";
exec = "firefox --class=\"time-tracking\" --new-instance -P toggl https://track.toggl.com/timer";
};
mailhog-ui = {
name = "Mailhog";
type = "Application";
exec = "${pkgs.firefox}/bin/firefox --class=\"mailhog\" --new-instance -P mailhog https://mailhog.localhost";
exec = "firefox --class=\"mailhog\" --new-instance -P mailhog https://mailhog.localhost";
};
};

View file

@ -29,6 +29,6 @@
'';
windowManager.i3 = import ./windowManager/i3.nix {
inherit config pkgs;
inherit config;
};
}