[Packages + Overlays] Add unstable nix channel as an overlay in nixpkgs

This commit is contained in:
Antoine Viallon 2022-03-09 00:24:56 +01:00
parent b2db8a7ad7
commit 32318c2864
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -2,6 +2,7 @@
with lib; with lib;
let let
cfg = config.aviallon.overlays; cfg = config.aviallon.overlays;
unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { config = config.nixpkgs.config; };
in in
{ {
options.aviallon.overlays = { options.aviallon.overlays = {
@ -22,6 +23,9 @@ in
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: {
inherit unstable;
})
# (self: super: { # (self: super: {
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { # nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
# inherit pkgs; # inherit pkgs;