From 122d78deecaeb996df78b38160762f6d0ed57bd4 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 25 Dec 2023 13:26:44 +0400 Subject: [PATCH] attempt setup of emacs-overlay --- modules/dev/editors/emacs/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index 456500b0..ed3b8769 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -19,7 +19,18 @@ in { services.emacs = { enable = cfg.daemon; install = true; - package = pkgs.emacs29-pgtk; + # package = pkgs.emacs29-pgtk; + package = pkgs.emacsWithPackagesFromUsePackage { + config = ./emacs.org; + + defaultInitFile = true; + + package = pkgs.emacs-pgtk; + + # alwaysEnsure = true; + + alwaysTangle = true; + }; }; users.users.sako.packages = with pkgs; [ # direnv