From f01482a7da3bc000b6b8b80ef466cb4a2a71c20a Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Wed, 27 Nov 2024 20:41:37 +0100 Subject: [PATCH] feat: set EDITOR = VISUAL = vim --- profiles/base/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/base/default.nix b/profiles/base/default.nix index daef360..b275342 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -23,7 +23,10 @@ "nixos-switch" = "sudo nixos-rebuild switch --flake .#"; "nom-affogato" = "nom build .#nixosConfigurations.affogato.config.system.build.toplevel"; }; - + environment.variables = { + EDITOR = "vim"; + VISUAL = "vim"; + }; environment.systemPackages = with pkgs; [ python3 vim