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/shell/default.nix
|
||||||
./home/scripts/default.nix
|
./home/scripts/default.nix
|
||||||
./home/password-store/default.nix
|
./home/password-store/default.nix
|
||||||
|
./home/emacs/default.nix
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
inherit username;
|
inherit username;
|
||||||
|
|
|
@ -120,11 +120,10 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./home/hyprland.nix
|
./home/hyprland.nix
|
||||||
|
./home/terminal/default.nix
|
||||||
|
./home/browser/default.nix
|
||||||
./home/email/default.nix
|
./home/email/default.nix
|
||||||
./home/calendar/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;
|
home.file.${config.gtk.gtk2.configLocation}.force = true;
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -17,7 +17,10 @@
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
|
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs29-pgtk;
|
package = pkgs.emacs29.override {
|
||||||
|
withImageMagick = true;
|
||||||
|
withPgtk = true;
|
||||||
|
};
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
fixed-font-family = "${config.stylix.fonts.monospace.name}";
|
fixed-font-family = "${config.stylix.fonts.monospace.name}";
|
||||||
|
@ -62,19 +65,15 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Emacs requirements
|
|
||||||
imagemagick
|
|
||||||
languagetool
|
|
||||||
wordnet
|
|
||||||
|
|
||||||
# Plugin requirements
|
# Plugin requirements
|
||||||
gcc
|
gcc
|
||||||
sqlite
|
sqlite
|
||||||
|
languagetool
|
||||||
|
wordnet
|
||||||
pandoc
|
pandoc
|
||||||
ghostscript
|
ghostscript
|
||||||
poppler_utils
|
poppler_utils
|
||||||
graphviz
|
graphviz-nox
|
||||||
mp3info
|
|
||||||
|
|
||||||
# Customised LaTeX install
|
# Customised LaTeX install
|
||||||
(texlive.combine {
|
(texlive.combine {
|
||||||
|
|
Loading…
Reference in a new issue