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 {
|
in {
|
||||||
home.packages = packages.all;
|
home.packages = packages.all;
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
"PATH" = "$HOME/.local/bin:$PATH";
|
EDITOR = "vim"; # is overriden to nvim in vim.nix if needed
|
||||||
"EDITOR" = "vim";
|
WORDCHARS = "\${WORDCHARS//[\\/.=]/}"; # ctrl-w on paths without make angery
|
||||||
"WORDCHARS" = "\${WORDCHARS//[\\/.=]/}"; # ctrl-w on paths without make angery
|
|
||||||
};
|
};
|
||||||
/*
|
/*
|
||||||
# For some reason this doesn't play nice when using home manager config from inside
|
# For some reason this doesn't play nice when using home manager config from inside
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";};
|
home.sessionVariables.EDITOR = lib.mkForce "nvim";
|
||||||
home.packages = with pkgs; [ripgrep];
|
home.packages = with pkgs; [ripgrep];
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue