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:
parent
97aa38df93
commit
42081fc2a9
|
@ -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'";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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"];
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
'';
|
||||
|
||||
windowManager.i3 = import ./windowManager/i3.nix {
|
||||
inherit config pkgs;
|
||||
inherit config;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue