summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/modules/nixpkgs.nix14
-rw-r--r--user/trillian.nix2
2 files changed, 15 insertions, 1 deletions
diff --git a/user/modules/nixpkgs.nix b/user/modules/nixpkgs.nix
new file mode 100644
index 00000000..e0952c9c
--- /dev/null
+++ b/user/modules/nixpkgs.nix
@@ -0,0 +1,14 @@
+{ config, pkgs, ... }:
+
+{
+  imports = [
+    ./nix.nix
+  ];
+  nixpkgs.overlays = [
+    (self: super: {
+      unstable = import <nixpkgs-unstable> {
+        config = config.nixpkgs.config;
+      };
+    })
+  ];
+}
diff --git a/user/trillian.nix b/user/trillian.nix
index f7437d89..6c2e468c 100644
--- a/user/trillian.nix
+++ b/user/trillian.nix
@@ -7,7 +7,7 @@
     ./modules/git.nix
     ./modules/gnupg.nix
     ./modules/javascript.nix
-    ./modules/nix.nix
+    ./modules/nixpkgs.nix
     ./modules/satoshipay.nix
     ./modules/tabnine.nix
     ./modules/trezor.nix