summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-03-06 21:14:51 +0100
committerAlan Pearce2023-03-06 21:14:51 +0100
commit222b0f4972d00ee635a3541fafc61123fb1d609a (patch)
treed0213880c1e9d53526b20229f9e1f6e9967bd566
parentf2f59e9796a7321a1f881efa5dbef8ba5e163864 (diff)
downloadnixfiles-222b0f4972d00ee635a3541fafc61123fb1d609a.tar.lz
nixfiles-222b0f4972d00ee635a3541fafc61123fb1d609a.tar.zst
nixfiles-222b0f4972d00ee635a3541fafc61123fb1d609a.zip
Actually _use_ the emacs-overlay
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 24d63ca0..06377fee 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,6 +16,7 @@
   outputs = {
     self,
     darwin,
+    emacs-overlay,
     home-manager,
     nixpkgs,
     secrets,
@@ -38,11 +39,13 @@
     };
     homeConfigurations."alan@mba" = home-manager.lib.homeManagerConfiguration {
       pkgs = darwinPkgs;
-      modules = [./user/mba.nix (secrets + "/default.nix")];
+      modules = [./user/mba.nix (secrets + "/default.nix")
+      ({ nixpkgs.overlays = [emacs-overlay.overlay]; })];
     };
     homeConfigurations."alan@prefect" = home-manager.lib.homeManagerConfiguration {
       pkgs = nixosPkgs;
-      modules = [./user/prefect.nix (secrets + "/default.nix")];
+      modules = [./user/prefect.nix (secrets + "/default.nix")
+      ({ nixpkgs.overlays = [emacs-overlay.overlay]; })];
     };
   };
 }