overlays: Create overlays

This commit is contained in:
2021-08-24 11:36:15 +02:00
parent e3c5c694a6
commit 669c20a354
12 changed files with 46 additions and 71 deletions

5
overlays/custom.nix Normal file
View File

@@ -0,0 +1,5 @@
pkgs: final: prev:
import ../packages {
pkgs = prev;
}

10
overlays/nur.nix Normal file
View File

@@ -0,0 +1,10 @@
pkgs: final: prev:
{
nur = import (builtins.fetchTarball {
url = "https://github.com/nix-community/NUR/archive/master.tar.gz";
sha256 = "0r2pcc6sjxmhg1xxk23648wrwccv2c5v44cfwglx35az5y0hmr1f";
}) {
inherit pkgs;
};
}

10
overlays/unstable.nix Normal file
View File

@@ -0,0 +1,10 @@
# NOTE: pkgs is unused but there for consistency with nur.nix
pkgs: final: prev:
let
unstableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
in {
unstable = import unstableTarball {};
}