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 | |
| parent | 1c815deb9ee83be4ddd196fa9d9d955b7cc31886 (diff) | |
home: emacs: remove dependencies from home.packages
Diffstat (limited to 'modules/home-manager/personal')
| -rw-r--r-- | modules/home-manager/personal/dotfiles/spacemacs.el | 2 | ||||
| -rw-r--r-- | modules/home-manager/personal/programs/emacs.nix | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/modules/home-manager/personal/dotfiles/spacemacs.el b/modules/home-manager/personal/dotfiles/spacemacs.el index 166c3fc..ee7a7d6 100644 --- a/modules/home-manager/personal/dotfiles/spacemacs.el +++ b/modules/home-manager/personal/dotfiles/spacemacs.el @@ -280,7 +280,7 @@ It should only modify the values of Spacemacs settings." ;; Default font or prioritized list of fonts. The `:size' can be specified as ;; a non-negative integer (pixel size), or a floating-point (point size). ;; Point size is recommended, because it's device independent. (default 10.0) - dotspacemacs-default-font '("Source Code Pro" + dotspacemacs-default-font '("DejaVu Sans Mono" :size 14.0 :weight normal :width normal) 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" ]; + }; }; } |
