diff options
Diffstat (limited to 'home/modules/emacs.nix')
-rw-r--r-- | home/modules/emacs.nix | 45 |
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; + }; +} |