From 431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 4 Oct 2019 21:25:12 +0200 Subject: Support unstable overlay on non-nixos systems --- user/modules/nixpkgs.nix | 14 ++++++++++++++ user/trillian.nix | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 user/modules/nixpkgs.nix 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 { + 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 -- cgit 1.4.1