update my emacs flake
This commit is contained in:
parent
fb45fa4b49
commit
217573284e
4 changed files with 13 additions and 68 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue