diff options
author | Alan Pearce | 2019-10-04 21:25:12 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-04 22:16:18 +0200 |
commit | 431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832 (patch) | |
tree | 4355e6fb2fb2d12cf6313452aba53b7f63e4070e /user/modules | |
parent | 54f7e1a124cf07f0e69a5bb230a105a063146d2d (diff) | |
download | nixfiles-431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832.tar.lz nixfiles-431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832.tar.zst nixfiles-431fd28d2d60fcc5bc28ffbab5c7ccbd9cec2832.zip |
Support unstable overlay on non-nixos systems
Diffstat (limited to 'user/modules')
-rw-r--r-- | user/modules/nixpkgs.nix | 14 |
1 files changed, 14 insertions, 0 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; + }; + }) + ]; +} |