From 273e97a4c0fd9505f73d64ad42effc6dcf0ed769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 3 Apr 2019 13:33:44 +0100 Subject: [PATCH] use python3 in vim --- nixos/configuration.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index aa2980c3..89e589aa 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -4,18 +4,6 @@ let unstableTarball = fetchTarball 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 { @@ -33,7 +21,12 @@ in }; 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";