diff --git a/flake.nix b/flake.nix index 4cfc900e..e0ed281b 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; diff --git a/users/price/conf/emacs/default.nix b/users/price/conf/emacs/default.nix new file mode 100644 index 00000000..9e5c0398 --- /dev/null +++ b/users/price/conf/emacs/default.nix @@ -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 + ]) + ); + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 4bde364e..c9307f85 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -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;