summary refs log tree commit diff
path: root/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.org')
-rw-r--r--emacs.org12
1 files changed, 11 insertions, 1 deletions
diff --git a/emacs.org b/emacs.org
index 3acdef4..5f48278 100644
--- a/emacs.org
+++ b/emacs.org
@@ -12,11 +12,21 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto
 * Before we start lisping
   This emacs config's dependencies are mostly managed by [[https://nixos.org][nix]], therefore we have to make a nix file before we
   do any emacs configuring by ourselves
+  We also add webkitgtk support for (eventual) web browsing support
   #+begin_src nix :tangle emacs.nix
     let
       sources = import ./nix/sources.nix;
+      packageOverlay = final: old: {
+        emacs = old.emacs.override {
+          withXwidgets = true;
+        };
+        emacsWithPackages = final.emacs.pkgs.withPackages;
+      };
     in
-    import sources.emacs { configDir = ./emacsconfig; }
+    import sources.emacs {
+      pkgs = import <nixpkgs> { overlays = [ packageOverlay ]; };
+      configDir = ./emacsconfig;
+    }
   #+end_src
 * Emacs configuring
   Now the real configuring begins!