From aeb9014815a249f6359e81f64941448d719abed8 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 28 Aug 2024 19:49:54 +0200 Subject: [PATCH] home: set editor envvars --- home/base.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/home/base.nix b/home/base.nix index c3ad1c3..ae501ad 100644 --- a/home/base.nix +++ b/home/base.nix @@ -5,11 +5,18 @@ ./zsh.nix ]; - home.packages = with pkgs; [ - bottom - unstable.ncdu - neofetch - ]; + home = { + packages = with pkgs; [ + bottom + unstable.ncdu + neofetch + ]; + + sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; + }; programs.nix-index = { enable = true;