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, ...}: {
|
{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;
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue