fork/home-manager
git clone https://git.julia.blue/fork/home-manager
eec22729
master
1{ pkgs , ...} : 2 3{ 4nixpkgs . overlays = [ 5( self :super :{ 6# Use `cat` instead of `echo` to prevent arguments from being 7# interpreted as an option. 8emacs = pkgs . writeShellScriptBin "emacsclient" 9'' ${ pkgs . coreutils } /bin/cat <<< " $ *"'' ; 10}) 11]; 12 13services . emacs = { 14defaultEditor = true ; 15enable = true ; 16}; 17 18nmt . script = "source ${ 19pkgs . substituteAll { 20inherit ( pkgs ) coreutils ; 21src = ./emacs-default-editor.sh ; 22} 23} " ; 24}