summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-04 16:13:35 +0200
committerAlan Pearce2019-10-04 16:13:35 +0200
commita6008a0432b90faa49ffaa76267d3af98adac54a (patch)
tree5bfee923f27c2e70d21325307eff53a0748be95a
parentdb1113b79e02e9accc4d83dc64a46b348349b492 (diff)
downloadnixfiles-a6008a0432b90faa49ffaa76267d3af98adac54a.tar.lz
nixfiles-a6008a0432b90faa49ffaa76267d3af98adac54a.tar.zst
nixfiles-a6008a0432b90faa49ffaa76267d3af98adac54a.zip
Import nixos-unstable as overlay
-rw-r--r--user/modules/nixos.nix14
-rw-r--r--user/prefect.nix2
-rw-r--r--user/satoshipad.nix2
3 files changed, 16 insertions, 2 deletions
diff --git a/user/modules/nixos.nix b/user/modules/nixos.nix
new file mode 100644
index 00000000..0df5817b
--- /dev/null
+++ b/user/modules/nixos.nix
@@ -0,0 +1,14 @@
+{ config, pkgs, ... }:
+
+{
+  imports = [
+    ./nix.nix
+  ];
+  nixpkgs.overlays = [
+    (self: super: {
+      unstable = import <nixos-unstable> {
+        config = config.nixpkgs.config;
+      };
+    })
+  ];
+}
diff --git a/user/prefect.nix b/user/prefect.nix
index a6f5c3f3..9bfe6725 100644
--- a/user/prefect.nix
+++ b/user/prefect.nix
@@ -8,7 +8,7 @@
     ./modules/git.nix
     ./modules/gnupg.nix
     ./modules/i3.nix
-    ./modules/nix.nix
+    ./modules/nixos.nix
     ./modules/rofi.nix
     ./modules/satoshipay.nix
     ./modules/sxhkd.nix
diff --git a/user/satoshipad.nix b/user/satoshipad.nix
index 790bf927..e9c52f58 100644
--- a/user/satoshipad.nix
+++ b/user/satoshipad.nix
@@ -11,7 +11,7 @@
     ./modules/i3.nix
     ./modules/isync.nix
     ./modules/msmtp.nix
-    ./modules/nix.nix
+    ./modules/nixos.nix
     ./modules/npm.nix
     ./modules/rofi.nix
     ./modules/satoshipay.nix