diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-03-13 13:34:07 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-03-13 13:34:07 +0100 |
| commit | 2dad7cf1a9e79fee2d391ee771b85b677bba8676 (patch) | |
| tree | 57397a2b1053c89b96b4fe6f3d06913b5e92c385 /modules/home-manager/personal/programs | |
| parent | 1c815deb9ee83be4ddd196fa9d9d955b7cc31886 (diff) | |
home: emacs: remove dependencies from home.packages
Diffstat (limited to 'modules/home-manager/personal/programs')
| -rw-r--r-- | modules/home-manager/personal/programs/emacs.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/home-manager/personal/programs/emacs.nix b/modules/home-manager/personal/programs/emacs.nix index 2e01c3b..ac87ef6 100644 --- a/modules/home-manager/personal/programs/emacs.nix +++ b/modules/home-manager/personal/programs/emacs.nix @@ -29,11 +29,6 @@ in { home.sessionVariables.EDITOR = "emacsclient --tty"; home.shellAliases.editor = "emacsclient --create-frame"; - # add some packages necessary in spacemacs - programs.emacs.extraPackages = - lib.mkDefault (ep: with ep; [ emacsql-sqlite emacsql-sqlite-builtin ]); - home.packages = with pkgs; [ gnutar source-code-pro ]; - # spacemacs dotfile home.file.".spacemacs.d/init.el".source = lib.mkDefault config.personal.home.dotfiles.spacemacs; @@ -55,6 +50,9 @@ in { OnCalendar = "daily"; }; Install = { WantedBy = [ "default.target" ]; }; - }); + }) // { + services.emacs.Service.Environment = with pkgs; + [ "PATH=${gnutar}/bin:${gcc}/bin:$PATH" ]; + }; }; } |
