chore: make default editor neovim

This commit is contained in:
Artur Manuel 2024-11-25 21:15:00 +00:00
commit 4cdf9c5baf
2 changed files with 12 additions and 9 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = builtins.attrValues { environment = {
systemPackages = builtins.attrValues {
inherit inherit
(pkgs) (pkgs)
nil nil
@ -8,6 +9,8 @@
alejandra alejandra
; ;
}; };
sessionVariables = {EDITOR = "nvim";};
};
alqueva = { alqueva = {
mpd = { mpd = {
enable = true; enable = true;

View file

@ -13,7 +13,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment = { environment = {
systemPackages = [inputs.pankomacs.packages.${pkgs.system}.pankomacs]; systemPackages = [inputs.pankomacs.packages.${pkgs.system}.pankomacs];
sessionVariables."EDITOR" = "emacs"; sessionVariables."EDITOR" = lib.mkDefault "emacs";
}; };
}; };
} }