From 439f9a15f3eae6827fdd9f47469aad3ea12f3ef7 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 7 Apr 2024 15:52:07 +0200 Subject: [PATCH] Enable neovim instead of vim --- system/programs.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/system/programs.nix b/system/programs.nix index e1e2d3c..e60b129 100644 --- a/system/programs.nix +++ b/system/programs.nix @@ -1,6 +1,10 @@ { pkgs, ... }: { - # Basic list of must-have packages for all systems - environment.systemPackages = with pkgs; [ - vim - ]; + + # Install an actually usable system-wide editor + programs.neovim = { + enable = true; + defaultEditor = true; + vimAlias = true; + viAlias = true; + }; }