Wrap emacs settings in a mkMerge.

This commit is contained in:
Tom Alexander
2025-01-18 21:26:17 -05:00
parent 8e22d8febb
commit e00331bf94

View File

@@ -39,10 +39,13 @@ let
e_shorthand = pkgs.writeShellScriptBin "e" ''
exec ${pkgs.emacs29-pgtk}/bin/emacs "''${@}"
'';
in
{
imports = [ ];
config = lib.mkMerge [
{
environment.systemPackages = with pkgs; [
plainmacs
e_shorthand
@@ -78,4 +81,6 @@ in
};
environment.variables.EDITOR = "${plainmacs}/bin/plainmacs";
}
];
}