From 0eb993f85803ab8697f8863a0b1e864dbb3892c7 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 29 Dec 2023 09:55:35 +0100 Subject: [PATCH] Add Vim to all systems --- modules/misc/common/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/misc/common/default.nix b/modules/misc/common/default.nix index fdb233e..d2fafa9 100644 --- a/modules/misc/common/default.nix +++ b/modules/misc/common/default.nix @@ -64,6 +64,15 @@ keyMap = "us"; }; + environment = { + variables = { + EDITOR = "vim"; + VISUAL = "vim"; + }; + systemPackages = [ + pkgs.vim + ]; + }; # Disable the root user users.users.root.hashedPassword = "!"; # Define a user account. Don't forget to set a password with `passwd`.