home/natto: misc config changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-06-24 15:46:42 +05:30
parent be59cc0e8a
commit 149dbe2e33
4 changed files with 25 additions and 6 deletions

View File

@@ -3,13 +3,27 @@ let
mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay
with pkgs; emacsWithPackagesFromUsePackage {
inherit config;
package = emacsPgtk;
package = emacs-pgtk;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages = epkgs: with epkgs; [
use-package
(epkgs.tree-sitter-langs.withPlugins (_: epkgs.tree-sitter-langs.plugins))
];
/* override = {
stm32-emacs = trivialBuild rec {
pname = "stm32-emacs";
version = haskellPackages.Agda.version;
dontUnpack = true;
# already byte-compiled by Agda builder
buildPhase = ''
agda=`${haskellPackages.Agda}/bin/agda-mode locate`
cp `dirname $agda`/*.el* .
'';
};
};*/
};
in
{