Skip to content

FrankBeu/emacs-flake

Repository files navigation

emacsFlake

A flake for a configured emacs-daemon

example of usage

cf. devos ‘next-door’

  • flake.nix
  • home/profiles/editor/emacs
  • nixos/profiles/editor/emacs

devel-workflow

use a local flake

emacsFlake = {
  url    = "/home/frank/DEVOSEMACS"; ### DEVEL
  # url  = "github:FrankBeu/emacs-flake";
};

work as usual

snippets

in order to provide new or changed snippets,
  • the snippets have to be added to git
  • the host-flake has to be updated
  • the host has to be switched
  • restart emacs or just yas-reload-all SPC y r
XOR remount snippetFolder
sudo mount -B <LOCAL-FLAKE-DIR>/emacs.d/snippets ~/.emacs.d/snippets
  • yas-reload-all SPC y r

elisp

just use eval-last-sexp C-X C-E

commit, push, …

use remote flake again

  • update the host-flake
  • switch the host
  • restart emacs

check

update host-flake

nix flake lock --update-input emacsFlake

TODOS

create lib

  • for all functions not included in the init.el via tangling

create mechanism for importing packages not provided by emacs-overlay

  • replace packagesLocal

rename packagesLocal -> localPackages

About

a flake for a configured emacs-daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published