From 4890ae1737fdb2f93738e95d0038965ea7daa922 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Mon, 12 Jun 2023 12:21:31 +0200 Subject: [PATCH] [nix] Set nvim as the EDITOR --- nix/hosts/alymac/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/hosts/alymac/default.nix b/nix/hosts/alymac/default.nix index 59a2b55..c1fdd2b 100644 --- a/nix/hosts/alymac/default.nix +++ b/nix/hosts/alymac/default.nix @@ -1,6 +1,8 @@ { pkgs, lib, dotfiles, ... }: let + textEditor = "nvim"; + packageSets = with pkgs; rec { system = [ gnutls @@ -130,6 +132,9 @@ in home = { packages = packageSets.everything; + sessionVariables = { + EDITOR = textEditor; + }; file.".npmrc".text = '' prefix = ''${HOME}/.npm-packages