about summary refs log tree commit diff
path: root/home/modules/emacs.nix
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-03-28T03·32-0400
committerGriffin Smith <root@gws.fyi>2020-03-28T15·47-0400
commit28ccec970435f9acfdecfae95848947c8b751e09 (patch)
tree4a55bdaab006c46cd5ad86d407d7d80fab8ed57f /home/modules/emacs.nix
Initial commit
It begins...
Diffstat (limited to 'home/modules/emacs.nix')
-rw-r--r--home/modules/emacs.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/home/modules/emacs.nix b/home/modules/emacs.nix
new file mode 100644
index 000000000000..05b09ec2c5d8
--- /dev/null
+++ b/home/modules/emacs.nix
@@ -0,0 +1,45 @@
+{ pkgs, lib, ... }:
+
+let
+ # doom-emacs = pkgs.callPackage (builtins.fetchTarball {
+ #   url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
+ # }) {
+ #   doomPrivateDir = ./doom.d;  # Directory containing your config.el init.el
+ #                               # and packages.el files
+ # };
+in {
+  imports = [ ./lib/cloneRepo.nix ];
+
+  # home.packages = [ doom-emacs ];
+  # home.file.".emacs.d/init.el".text = ''
+  #     (load "default.el")
+  # '';
+  #
+
+  home.packages = [
+    # haskellPackages.Agda BROKEN
+  ];
+
+  programs.emacs.enable = true;
+  home.file.".doom.d".source = ./doom.d;
+
+  impure.clonedRepos = {
+    orgClubhouse = {
+      github = "glittershark/org-clubhouse";
+      path = "code/org-clubhouse";
+    };
+
+    doomEmacs = {
+      github = "hlissner/org-clubhouse";
+      path = ".emacs.d";
+      after = ["orgClubhouse"];
+      onClone = "bin/doom install";
+    };
+  };
+
+  # Notes
+  services.syncthing = {
+    enable = true;
+    tray = true;
+  };
+}