about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules/emacs.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-06-19T02·48-0400
committerglittershark <grfn@gws.fyi>2020-06-19T03·17+0000
commitd5c36191180f72726fd12ce36f2db7ffa977fb61 (patch)
treeae38369bf30efa234a2ce0652fe0c09703a9ccd7 /users/glittershark/system/home/modules/emacs.nix
parentdbb4a57bbf38d4cb5db1b663721f5edb5deb65ac (diff)
feat(g/emacs): Install dottime from depot via nix r/1035
To test out emacs package installs from depot

Change-Id: Ia8bb370d671c566c6ce8de08b47925ec3a1653e4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/493
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/system/home/modules/emacs.nix')
-rw-r--r--users/glittershark/system/home/modules/emacs.nix13
1 files changed, 11 insertions, 2 deletions
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 = {