Update main branch #1

Merged
jakalx merged 120 commits from develop into main 2024-02-05 21:51:32 +01:00
Showing only changes of commit 6d49c9127d - Show all commits

View file

@ -1,11 +1,14 @@
{ inputs, config, lib, pkgs, ... }: { inputs, config, lib, pkgs, ... }:
let
{ emacsclient-wrapper = pkgs.writeShellScriptBin "e" ''
exec ${pkgs.emacs}/bin/emacsclient --reuse-frame --no-wait "$@"
'';
in {
nixpkgs.overlays = [ inputs.emacs.overlay ]; nixpkgs.overlays = [ inputs.emacs.overlay ];
home = { home = {
sessionPath = [ "$HOME/.emacs.d/bin" ]; sessionPath = [ "$HOME/.emacs.d/bin" ];
shellAliases = { e = "emacsclient -c $@"; }; packages = [ emacsclient-wrapper ];
}; };
programs.emacs = { programs.emacs = {