Build custom version of Emacs to include both PGTK and Imagemagick support
Install Emacs by default instead just for desktop environment
This commit is contained in:
parent
07ebae0855
commit
333e41f926
|
@ -136,6 +136,7 @@
|
|||
./home/shell/default.nix
|
||||
./home/scripts/default.nix
|
||||
./home/password-store/default.nix
|
||||
./home/emacs/default.nix
|
||||
];
|
||||
home = {
|
||||
inherit username;
|
||||
|
|
|
@ -120,11 +120,10 @@
|
|||
{
|
||||
imports = [
|
||||
./home/hyprland.nix
|
||||
./home/terminal/default.nix
|
||||
./home/browser/default.nix
|
||||
./home/email/default.nix
|
||||
./home/calendar/default.nix
|
||||
./home/terminal/default.nix
|
||||
./home/emacs/default.nix
|
||||
./home/browser/default.nix
|
||||
];
|
||||
home.file.${config.gtk.gtk2.configLocation}.force = true;
|
||||
services = {
|
||||
|
|
|
@ -17,7 +17,10 @@
|
|||
programs.emacs = {
|
||||
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
|
||||
enable = true;
|
||||
package = pkgs.emacs29-pgtk;
|
||||
package = pkgs.emacs29.override {
|
||||
withImageMagick = true;
|
||||
withPgtk = true;
|
||||
};
|
||||
extraConfig =
|
||||
let
|
||||
fixed-font-family = "${config.stylix.fonts.monospace.name}";
|
||||
|
@ -62,19 +65,15 @@
|
|||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
# Emacs requirements
|
||||
imagemagick
|
||||
languagetool
|
||||
wordnet
|
||||
|
||||
# Plugin requirements
|
||||
gcc
|
||||
sqlite
|
||||
languagetool
|
||||
wordnet
|
||||
pandoc
|
||||
ghostscript
|
||||
poppler_utils
|
||||
graphviz
|
||||
mp3info
|
||||
graphviz-nox
|
||||
|
||||
# Customised LaTeX install
|
||||
(texlive.combine {
|
||||
|
|
Loading…
Reference in a new issue