From 398bf9f9635def50af2fde1152ac769d05682369 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Sat, 13 Sep 2025 22:13:08 -0300 Subject: [PATCH] feat: define devkit neovim as default editor --- configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index e1ed110..94025ba 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,9 +1,11 @@ { - inputs, config, + inputs, + lib, pkgs, ... -}: { +}: +with lib; { imports = [ ./capytal ./abaduh @@ -29,6 +31,7 @@ packages = with pkgs; [ libinput + inputs.dot013-nix.packages.${pkgs.system}.neovim ] ++ (with inputs.dot013-nix.packages.${pkgs.system}.devkit; [ git @@ -39,6 +42,10 @@ ]); }; + environment.sessionVariables = { + EDITOR = getExe inputs.dot013-nix.packages.${pkgs.system}.neovim; + }; + # GnuPG programs.gnupg.agent = { enable = true;