From b4e3c7cea32020542ed4f61f4715fcd1c19d9d5a Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 5 Apr 2024 21:57:37 +0200 Subject: [PATCH] home-profile: change emacs package and font. materusPC: enable emacs --- configurations/host/materusPC/home/materus/default.nix | 2 +- configurations/profile/home/editor/emacs/default.nix | 2 +- extraFiles/config/emacs/init.el | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configurations/host/materusPC/home/materus/default.nix b/configurations/host/materusPC/home/materus/default.nix index d5f4166..f23dbb5 100644 --- a/configurations/host/materusPC/home/materus/default.nix +++ b/configurations/host/materusPC/home/materus/default.nix @@ -77,7 +77,7 @@ dub ]); - editor.emacs.enable = false; + editor.emacs.enable = true; }; diff --git a/configurations/profile/home/editor/emacs/default.nix b/configurations/profile/home/editor/emacs/default.nix index 8964d1c..b9783e6 100644 --- a/configurations/profile/home/editor/emacs/default.nix +++ b/configurations/profile/home/editor/emacs/default.nix @@ -113,7 +113,7 @@ in programs.emacs = { enable = true; - package = with pkgs; lib.mkDefault (emacs29.override { withX = true; withGTK3 = true; withAlsaLib = true; withGconf = true; withImageMagick = true; withXwidgets = true; }); + package = with pkgs; lib.mkDefault materusArg.pkgs.emacs-materus; extraPackages = epkgs: ((packages epkgs)); extraConfig = default-config; }; diff --git a/extraFiles/config/emacs/init.el b/extraFiles/config/emacs/init.el index b49ad81..5a49fe4 100644 --- a/extraFiles/config/emacs/init.el +++ b/extraFiles/config/emacs/init.el @@ -39,8 +39,7 @@ ;Graphical (when (display-graphic-p) - (set-frame-font "FiraCode Nerd Font" nil t) - + (set-frame-font "Hack Nerd Font" nil t) )