mirror of https://github.com/wlcx/home.git
maybe don't clobber sessionvariables
This commit is contained in:
parent
c0978d2186
commit
665403ee0f
|
@ -6,9 +6,8 @@
|
|||
in {
|
||||
home.packages = packages.all;
|
||||
home.sessionVariables = {
|
||||
"PATH" = "$HOME/.local/bin:$PATH";
|
||||
"EDITOR" = "vim";
|
||||
"WORDCHARS" = "\${WORDCHARS//[\\/.=]/}"; # ctrl-w on paths without make angery
|
||||
EDITOR = "vim"; # is overriden to nvim in vim.nix if needed
|
||||
WORDCHARS = "\${WORDCHARS//[\\/.=]/}"; # ctrl-w on paths without make angery
|
||||
};
|
||||
/*
|
||||
# For some reason this doesn't play nice when using home manager config from inside
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";};
|
||||
home.sessionVariables.EDITOR = lib.mkForce "nvim";
|
||||
home.packages = with pkgs; [ripgrep];
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue