Nvim : Fix nixos build.
This commit is contained in:
parent
222d81c4be
commit
1eea96f31b
|
@ -20,7 +20,7 @@
|
||||||
bottles dxvk gamescope mangohud vkd3d wine64
|
bottles dxvk gamescope mangohud vkd3d wine64
|
||||||
calibre
|
calibre
|
||||||
gimp
|
gimp
|
||||||
godot gdtoolkit
|
godot_4 gdtoolkit
|
||||||
gradience
|
gradience
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
mpv
|
mpv
|
||||||
|
|
|
@ -36,7 +36,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
extraConfig = (import ./common/Nvim.nix { inputs = inputs; }).customRc;
|
# extraConfig = (import ./common/Nvim.nix { inputs = inputs; }).customRc;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, ... }: let
|
{ inputs, lib, ... }: let
|
||||||
nvimRc = { cfgPath, runtimes, cfgs }: let
|
nvimRc = { cfgPath, runtimes, cfgs }: let
|
||||||
runtimeRc = builtins.foldl' (acc: r:
|
runtimeRc = builtins.foldl' (acc: r:
|
||||||
acc + "set runtimepath+=${r}\n"
|
acc + "set runtimepath+=${r}\n"
|
||||||
|
@ -81,8 +81,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
inherit customRc;
|
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
variables = {
|
variables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
|
Loading…
Reference in a new issue