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.
This commit is contained in:
parent
6ba936fb61
commit
abd9447172
|
@ -475,8 +475,8 @@ in
|
||||||
];
|
];
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
# Favourite commands
|
# Favourite commands
|
||||||
PAGER = "${pkgs.less}/bin/less";
|
PAGER = "less";
|
||||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
EDITOR = "nvim";
|
||||||
|
|
||||||
# Extra config
|
# Extra config
|
||||||
BOOT9_PATH = "${config.xdg.dataHome}/citra-emu/sysdata/boot9.bin";
|
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
|
YARN_DISABLE_SELF_UPDATE_CHECK = "true"; # This also disable the creation of a ~/.yarnrc file
|
||||||
} // lib.optionalAttrs config.frogeye.desktop.xorg {
|
} // lib.optionalAttrs config.frogeye.desktop.xorg {
|
||||||
# Favourite commands
|
# Favourite commands
|
||||||
VISUAL = "${pkgs.neovim}/bin/nvim";
|
VISUAL = "nvim";
|
||||||
BROWSER = "${config.programs.qutebrowser.package}/bin/qutebrowser";
|
BROWSER = "${config.programs.qutebrowser.package}/bin/qutebrowser";
|
||||||
|
|
||||||
# Extra config
|
# Extra config
|
||||||
|
|
Loading…
Reference in a new issue