home: update emacs and some other configs

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 06:12:41 +05:30
parent 1626936630
commit 8c32c34bc7
11 changed files with 221 additions and 279 deletions

View File

@@ -3,13 +3,23 @@ let
mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay
with pkgs; emacsWithPackagesFromUsePackage {
inherit config;
package = emacsPgtk;
package = emacsPgtkGcc;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages = epkgs: with epkgs; [
use-package
(epkgs.tree-sitter-langs.withPlugins (_: epkgs.tree-sitter-langs.plugins))
];
override = epkgs: epkgs // {
catppuccin-theme = epkgs.melpaPackages.catppuccin-theme.overrideAttrs (_: {
src = pkgs.fetchFromGitHub {
owner = "natto1784";
repo = "catppuccin-emacs";
rev = "company";
sha256 = "sha256-wI+RiOeRrvV5eXXVs6hBb3x9BMD9HgHmsjom7kzAFJg=";
};
});
};
};
in
{