From adc5fd4918baf093d47ca40645016c73864b8d39 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 15 Dec 2024 17:08:42 +0100 Subject: [PATCH] Enable vim system-wide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required so it can be the default editor for all users that don’t set another editor. --- modules/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/default.nix b/modules/default.nix index eaa1455..2c1aaab 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -84,7 +84,10 @@ ]; programs.nano.enable = false; - programs.vim.defaultEditor = true; + programs.vim = { + enable = true; + defaultEditor = true; + }; # Clean temporary files on boot boot.tmp.cleanOnBoot = true;