mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays+Packages] Move unstable + nur overlays into package/unstable.nix
This commit is contained in:
parent
b9dbcfd715
commit
42bf49f80e
3 changed files with 29 additions and 15 deletions
13
overlays.nix
13
overlays.nix
|
|
@ -2,15 +2,6 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.overlays;
|
||||
unstable = import (fetchGit {
|
||||
url = "https://github.com/NixOS/nixpkgs.git";
|
||||
rev = "c573e3eaa8717fbabab3f9a58bfed637fb441eac";
|
||||
ref = "nixos-unstable";
|
||||
}) {
|
||||
config = config.nixpkgs.config // { allowUnfree = true; } ;
|
||||
overlays = config.nixpkgs.overlays;
|
||||
};
|
||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
options.aviallon.overlays = {
|
||||
|
|
@ -38,10 +29,6 @@ in
|
|||
|
||||
|
||||
nixpkgs.overlays = []
|
||||
++ [(self: super: {
|
||||
inherit unstable;
|
||||
inherit nur;
|
||||
})]
|
||||
++ optional cfg.traceCallPackage (self: super: {
|
||||
callPackage = path: overrides:
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue