summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/modules/emacs.nix2
-rw-r--r--user/modules/nixpkgs.nix4
2 files changed, 2 insertions, 4 deletions
diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix
index 17c0bf92..091c588c 100644
--- a/user/modules/emacs.nix
+++ b/user/modules/emacs.nix
@@ -3,7 +3,7 @@
 let
   inherit (pkgs) stdenv;
 
-  pkgsUnstable = if stdenv.isDarwin then import <nixpkgs-unstable> {} else import <nixos-unstable> {};
+  pkgsUnstable = if stdenv.isDarwin then import <nixpkgs> {} else import <nixos-unstable> {};
 
   editorScript = pkgs.writeScriptBin "edit" ''
     #!${pkgs.runtimeShell}
diff --git a/user/modules/nixpkgs.nix b/user/modules/nixpkgs.nix
index e0952c9c..b89579e1 100644
--- a/user/modules/nixpkgs.nix
+++ b/user/modules/nixpkgs.nix
@@ -6,9 +6,7 @@
   ];
   nixpkgs.overlays = [
     (self: super: {
-      unstable = import <nixpkgs-unstable> {
-        config = config.nixpkgs.config;
-      };
+      unstable = self;
     })
   ];
 }