update my emacs flake

This commit is contained in:
Moritz Böhme 2023-01-30 10:39:29 +01:00
parent fb45fa4b49
commit 217573284e
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 13 additions and 68 deletions

View file

@ -8,6 +8,7 @@
with lib;
let
cfg = config.my.programs.emacs;
myEmacs = pkgs.emacsPgtkWithPackages;
in
{
options.my.programs.emacs.enable = mkEnableOption "emacs";
@ -20,24 +21,12 @@ in
emacs-all-the-icons-fonts
(iosevka-bin.override { variant = "aile"; })
];
users.users.moritz.packages = with pkgs; [
myEmacs
(ripgrep.override { withPCRE2 = true; })
# flyspell
(hunspellWithDicts (with hunspellDicts; [
en_GB-ize
en_US
de_DE
]))
# language servers
nil
];
users.users.moritz.packages = [ myEmacs ];
home-manager.users.moritz = {
home.sessionPath = [ "/home/moritz/.config/emacs/bin/" ];
services.emacs = {
enable = true;
package = pkgs.myEmacs;
package = myEmacs;
};
};
};