feat(nix): use emacs-overlay
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m0s

This commit is contained in:
Price Hiller 2024-07-09 23:26:57 -05:00
parent 824adba95b
commit c7780183a7
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
3 changed files with 21 additions and 10 deletions

View File

@ -33,6 +33,11 @@
url = "git+https://git.orion-technologies.io/blog/blog";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};
outputs =
@ -77,6 +82,7 @@
({
imports = [ inputs.agenix.homeManagerModules.default ];
nixpkgs.overlays = [
inputs.emacs-overlay.overlays.default
self.overlays.modifications
self.overlays.additions
];

View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
programs.emacs = {
enable = true;
package = pkgs.emacs-unstable;
extraPackages = (
epkgs:
(with epkgs; [
treesit-grammars.with-all-grammars
melpaPackages.pdf-tools
vterm
])
);
};
}

View File

@ -255,16 +255,6 @@ in
enable = true;
package = pkgs.eclipses.eclipse-java;
};
emacs = {
enable = true;
extraPackages = (
epkgs:
(with epkgs; [
treesit-grammars.with-all-grammars
melpaPackages.pdf-tools
])
);
};
wofi.enable = true;
firefox = {
enable = true;