diff options
-rw-r--r-- | users/glittershark/emacs.d/init.el | 3 | ||||
-rw-r--r-- | users/glittershark/system/home/modules/emacs.nix | 13 | ||||
-rw-r--r-- | users/glittershark/system/home/modules/lib/depot.nix | 5 |
3 files changed, 19 insertions, 2 deletions
diff --git a/users/glittershark/emacs.d/init.el b/users/glittershark/emacs.d/init.el index 59e34b0bf8c6..eda79b2ed8bc 100644 --- a/users/glittershark/emacs.d/init.el +++ b/users/glittershark/emacs.d/init.el @@ -167,6 +167,9 @@ ;; provides a Spacemacs-inspired keybinding scheme and a smartparens ;; config. Use it as a reference for your own modules. (default +bindings +smartparens)) + +(appendq! load-path (split-string (getenv "EMACSLOADPATH") ":")) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/users/glittershark/system/home/modules/emacs.nix b/users/glittershark/system/home/modules/emacs.nix index 3f82880d2bd6..d7cd0ecc8d06 100644 --- a/users/glittershark/system/home/modules/emacs.nix +++ b/users/glittershark/system/home/modules/emacs.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: +{ pkgs, lib, config, ... }: with lib; @@ -9,8 +9,14 @@ let # doomPrivateDir = ./doom.d; # Directory containing your config.el init.el # # and packages.el files # }; + + + depot = config.lib.depot; in { - imports = [ ./lib/cloneRepo.nix ]; + imports = [ + ./lib/cloneRepo.nix + ./lib/depot.nix + ]; # home.packages = [ doom-emacs ]; # home.file.".emacs.d/init.el".text = '' @@ -48,6 +54,9 @@ in { programs.emacs = { enable = true; package = pkgs.emacsUnstable; + extraPackages = (epkgs: [ + depot.tools.emacs-pkgs.dottime + ]); }; grfn.impure.clonedRepos = { diff --git a/users/glittershark/system/home/modules/lib/depot.nix b/users/glittershark/system/home/modules/lib/depot.nix new file mode 100644 index 000000000000..b0bc40acce95 --- /dev/null +++ b/users/glittershark/system/home/modules/lib/depot.nix @@ -0,0 +1,5 @@ +{ config, lib, pkgs, ... }: + +{ + lib.depot = import ~/code/depot {}; +} |