1
0

default.nix 445 B

12345678910111213141516171819
  1. { pkgs, ... }:
  2. {
  3. programs.emacs = {
  4. enable = true;
  5. package = pkgs.emacs;
  6. extraPackages = epkgs: [
  7. ];
  8. extraConfig = builtins.readFile ./config/emacs.el;
  9. };
  10. services.emacs = {
  11. enable = true;
  12. package = pkgs.emacs;
  13. socketActivation.enable = true; # Starts Emacs on demand when emacsclient is called
  14. startWithUserSession = "graphical"; # Launch with graphical session or true for default.target
  15. };
  16. }