all repos — nixfiles @ 431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832

System and user configuration, managed by nix and home-manager

Support unstable overlay on non-nixos systems
Alan Pearce alan@alanpearce.eu
Fri, 04 Oct 2019 21:25:12 +0200
commit

431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832

parent

54f7e1a124cf07f0e69a5bb230a105a063146d2d

2 files changed, 15 insertions(+), 1 deletions(-)

jump to
A 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;
+      };
+    })
+  ];
+}
M user/trillian.nixuser/trillian.nix
@@ -7,7 +7,7 @@ ./modules/emacs.nix     ./modules/git.nix
     ./modules/gnupg.nix
     ./modules/javascript.nix
-    ./modules/nix.nix
+    ./modules/nixpkgs.nix
     ./modules/satoshipay.nix
     ./modules/tabnine.nix
     ./modules/trezor.nix