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 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 user/modules/nixpkgs.nix (limited to 'user/modules') 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; + }; + }) + ]; +} -- cgit 1.4.1