summaryrefslogtreecommitdiff
path: root/modules/home-manager/personal
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/personal')
-rw-r--r--modules/home-manager/personal/dotfiles/spacemacs.el2
-rw-r--r--modules/home-manager/personal/programs/emacs.nix10
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" ];
+ };
};
}