[nix] Set nvim as the EDITOR

This commit is contained in:
Alyxia Sother 2023-06-12 12:21:31 +02:00
parent 6e42c6d164
commit 4890ae1737
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 5 additions and 0 deletions

View File

@ -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