Wrap emacs settings in a mkMerge.
This commit is contained in:
@@ -39,10 +39,13 @@ let
|
|||||||
e_shorthand = pkgs.writeShellScriptBin "e" ''
|
e_shorthand = pkgs.writeShellScriptBin "e" ''
|
||||||
exec ${pkgs.emacs29-pgtk}/bin/emacs "''${@}"
|
exec ${pkgs.emacs29-pgtk}/bin/emacs "''${@}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
||||||
|
config = lib.mkMerge [
|
||||||
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
plainmacs
|
plainmacs
|
||||||
e_shorthand
|
e_shorthand
|
||||||
@@ -79,3 +82,5 @@ in
|
|||||||
|
|
||||||
environment.variables.EDITOR = "${plainmacs}/bin/plainmacs";
|
environment.variables.EDITOR = "${plainmacs}/bin/plainmacs";
|
||||||
}
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user