chore: make default editor neovim
This commit is contained in:
parent
ef6adba668
commit
4cdf9c5baf
2 changed files with 12 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
environment = {
|
||||
systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
nil
|
||||
|
@ -8,6 +9,8 @@
|
|||
alejandra
|
||||
;
|
||||
};
|
||||
sessionVariables = {EDITOR = "nvim";};
|
||||
};
|
||||
alqueva = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = [inputs.pankomacs.packages.${pkgs.system}.pankomacs];
|
||||
sessionVariables."EDITOR" = "emacs";
|
||||
sessionVariables."EDITOR" = lib.mkDefault "emacs";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue