diff options
author | Kaiden Fey <kookie@spacekookie.de> | 2020-10-17 21:01:49 +0200 |
---|---|---|
committer | Kaiden Fey <kookie@spacekookie.de> | 2020-10-17 21:01:49 +0200 |
commit | cd5828c6d1173f689c6913737491603ed61588b3 (patch) | |
tree | 1abdd4aec68109edb8885e6e188863859fe61e24 /modules/workstation/emacs/default.nix | |
parent | ef5e6faf61ac8f309bcf0b6a9968dce953af4fc5 (diff) |
The reason for this is that nix-darwin is broken (or generally nix on
MacOS), and I need to be able to build emacs with just nix-build.
There is some refactoring coming up for this anyway, where modules
should be self-contained settings, that are enabled by configuration/
and roots/.
Diffstat (limited to 'modules/workstation/emacs/default.nix')
-rw-r--r-- | modules/workstation/emacs/default.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/modules/workstation/emacs/default.nix b/modules/workstation/emacs/default.nix index 63135a56f51..c76029fe1dd 100644 --- a/modules/workstation/emacs/default.nix +++ b/modules/workstation/emacs/default.nix @@ -1,7 +1,6 @@ -{ pkgs, ... }: +with import <nixpkgs> {}; -let - emacs = with pkgs; emacsWithPackages (epkgs: +pkgs.emacsWithPackages (epkgs: (with epkgs; [ (runCommand "init.el" {} '' mkdir -p $out/share/emacs/site-lisp @@ -17,6 +16,7 @@ let python-mode rust-mode + centaur-tabs color-identifiers-mode color-theme-sanityinc-tomorrow company @@ -31,16 +31,15 @@ let multiple-cursors notmuch org + paredit protobuf-mode scad-mode smex sublimity + treemacs undo-tree visual-fill-column + vterm which-key yasnippet - ])); -in -{ - home.packages = [ emacs pkgs.direnv ]; -} + ])) |