From abd9447172d93f2003e1c1cd3cda0b7c0ed9aa88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sun, 17 Dec 2023 22:53:54 +0100 Subject: [PATCH] Use PATH-using names for common variables Otherwise it uses the unwrapped package, which doesn't have the plugins and stuff. Also if upgrade, environment variables don't get updated, so it would use old stuff. --- hm/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hm/common.nix b/hm/common.nix index b8c7121..da45364 100644 --- a/hm/common.nix +++ b/hm/common.nix @@ -475,8 +475,8 @@ in ]; sessionVariables = { # Favourite commands - PAGER = "${pkgs.less}/bin/less"; - EDITOR = "${pkgs.neovim}/bin/nvim"; + PAGER = "less"; + EDITOR = "nvim"; # Extra config BOOT9_PATH = "${config.xdg.dataHome}/citra-emu/sysdata/boot9.bin"; @@ -492,7 +492,7 @@ in YARN_DISABLE_SELF_UPDATE_CHECK = "true"; # This also disable the creation of a ~/.yarnrc file } // lib.optionalAttrs config.frogeye.desktop.xorg { # Favourite commands - VISUAL = "${pkgs.neovim}/bin/nvim"; + VISUAL = "nvim"; BROWSER = "${config.programs.qutebrowser.package}/bin/qutebrowser"; # Extra config