chore: Move overlay to OS config
This commit is contained in:
parent
0d0ea496f1
commit
dd7433d5b7
3 changed files with 16 additions and 6 deletions
|
|
@ -1,11 +1,13 @@
|
|||
{ inputs, config, lib, pkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
emacsclient-wrapper = pkgs.writeShellScriptBin "e" ''
|
||||
exec ${pkgs.emacs}/bin/emacsclient --reuse-frame --no-wait "$@"
|
||||
'';
|
||||
in {
|
||||
nixpkgs.overlays = [ inputs.emacs.overlay ];
|
||||
|
||||
in
|
||||
{
|
||||
home = {
|
||||
sessionPath = [ "$HOME/.emacs.d/bin" ];
|
||||
packages = [ emacsclient-wrapper ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue