fix(neovim): set editor env var correctly
This commit is contained in:
parent
22d3010e99
commit
22ede14298
2 changed files with 11 additions and 16 deletions
|
@ -53,8 +53,7 @@ in {
|
||||||
|
|
||||||
console.keyMap = "fr";
|
console.keyMap = "fr";
|
||||||
|
|
||||||
environment = {
|
environment.systemPackages = with pkgs; [
|
||||||
systemPackages = with pkgs; [
|
|
||||||
btop
|
btop
|
||||||
curl
|
curl
|
||||||
git
|
git
|
||||||
|
@ -65,11 +64,6 @@ in {
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
variables = {
|
|
||||||
EDITOR = lib.getExe pkgs.neovim;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hm = {
|
hm = {
|
||||||
home = {inherit stateVersion;};
|
home = {inherit stateVersion;};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
hm.programs.neovim = {
|
hm.programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
extraLuaConfig = builtins.readFile ./init.lua;
|
extraLuaConfig = builtins.readFile ./init.lua;
|
||||||
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue