add emacs file, with its packages. kinda broken yet

This commit is contained in:
Miranda Marquez 2024-06-04 13:52:37 -08:00
parent b1a24588a9
commit 85e3097380
2 changed files with 21 additions and 7 deletions

View File

@ -6,6 +6,7 @@ with lib.hm.gvariant;
./modules/dconf.nix ./modules/dconf.nix
./modules/shell.nix ./modules/shell.nix
./modules/firefox.nix ./modules/firefox.nix
# ./modules/emacs.nix
]; ];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
@ -35,13 +36,6 @@ with lib.hm.gvariant;
# pyqt6 # pyqt6
# # pyqt6-qt6 # # pyqt6-qt6
# pyqt6-sip])) # pyqt6-sip]))
# (pkgs.emacsWithPackagesFromUsePackage {
# package = pkgs.emacs29-pgtk;
# config = ~/.emacs.d/init.el;
# extraEmacsPackages = epkgs: [
# epkgs.dash;
# ]
# })
# pkgs.fetchFromGitHub # pkgs.fetchFromGitHub
]; ];

20
modules/emacs.nix Normal file
View File

@ -0,0 +1,20 @@
{ lib, config, pkgs, inputs, ... }:
{
home.packages = [
(pkgs.emacsWithPackages {
package = pkgs.emacs29;
# config = ~/.emacs.d/init.el;
extraEmacsPackages = epkgs: [
epkgs.dash
epkgs.compat
epkgs.marginalia
epkgs.page-break-lines
epkgs.rainbow-mode
epkgs.powershell
epkgs.diminish
# epkgs.general
epkgs.eldoc
];
}
)];
}