[nix] Set nvim as the EDITOR
This commit is contained in:
parent
6e42c6d164
commit
4890ae1737
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue