commit 24cf737bff75647fe952372d0bb3279847c5f26f parent 36e384eeaaad9c879b56fc50a024f0a229e6c5e9 Author: benjamin paul <bpaul@bpaul.xyz> Date: Sun, 4 Jul 2021 11:41:01 +1000 Configure emacs config without nix (it is a bit easier for trying out) Diffstat:
M | home/modules/dev/emacs/default.nix | | | 20 | -------------------- |
M | home/profiles/laptop.nix | | | 1 | + |
2 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/home/modules/dev/emacs/default.nix b/home/modules/dev/emacs/default.nix @@ -17,26 +17,6 @@ with lib; ]; }; - home.file.".emacs.d/init.el".text = '' -;; Set up package.el to work with MELPA -(require 'package) -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/")) -(package-initialize) -(package-refresh-contents) - -;; Download Evil -(unless (package-installed-p 'evil) - (package-install 'evil)) - -(setq evil-want-C-u-scroll t) - -;; Enable Evil -(require 'evil) -(evil-mode 1) - -(load-theme 'gruvbox t) - ''; services.emacs.enable = true; }; } diff --git a/home/profiles/laptop.nix b/home/profiles/laptop.nix @@ -15,6 +15,7 @@ in alacritty.enable = true; c.enable = true; dunst.enable = true; + emacs.enable = true; haskell.enable = true; idris2.enable = true; polybar.enable = true;