From ba6448469340967d6524592354d352910a5e72f6 Mon Sep 17 00:00:00 2001 From: caem Date: Fri, 31 May 2024 23:40:41 +0200 Subject: [PATCH] Set $EDITOR to nvim manually Using the hm option programs.neovim.defaultEditor doesn't work for some reason so I just set the environment variable manually. --- users/hu/user.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/hu/user.nix b/users/hu/user.nix index 1d7ca61..b0265b0 100644 --- a/users/hu/user.nix +++ b/users/hu/user.nix @@ -10,6 +10,10 @@ ./packages/zsh/zsh.nix ]; + environment.variables = { + EDITOR = "nvim"; + }; + users.users.hu = { isNormalUser = true; extraGroups = [ "wheel" ];