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 | |
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')
-rw-r--r-- | user/modules/nixpkgs.nix | 14 | ||||
-rw-r--r-- | user/trillian.nix | 2 |
2 files changed, 15 insertions, 1 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; + }; + }) + ]; +} 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 |