use python3 in vim

This commit is contained in:
Cyryl Płotnicki 2019-04-03 13:33:44 +01:00
parent 7a78ee93d2
commit 273e97a4c0

View file

@ -4,18 +4,6 @@ let
unstableTarball = unstableTarball =
fetchTarball fetchTarball
https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
myVim = pkgs.vim_configurable.override {
features = "huge"; # one of tiny, small, normal, big or huge
cfg = {
luaSupport = true;
pythonSupport = true;
python3Support = true;
multibyteSupport = true;
};
flags = {
xim.enable = true;
};
};
in in
{ {
@ -33,7 +21,12 @@ in
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget myVim git zsh gnupg curl tmux python36Packages.glances wget git zsh gnupg curl tmux python36Packages.glances
(
vim_configurable.override {
python = python3;
}
)
]; ];
networking.hostName = "skinnyv"; networking.hostName = "skinnyv";