diff --git a/flake.lock b/flake.lock index 14ed6d3..b8eec20 100644 --- a/flake.lock +++ b/flake.lock @@ -774,6 +774,21 @@ "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" } }, + "nixpkgs-master": { + "locked": { + "lastModified": 1725495500, + "narHash": "sha256-d88LG7QXgPlaRUPEZKN2JpKRHoDUkxoeCodCq51vo9E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6f16e67b49214c52b1551b2c2bccb0ded54a59d0", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-regression": { "locked": { "lastModified": 1643052045, @@ -988,6 +1003,7 @@ "nixos-generators": "nixos-generators", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_3", + "nixpkgs-master": "nixpkgs-master", "proxmox-nixos": "proxmox-nixos", "sops-nix": "sops-nix", "treefmt": "treefmt" diff --git a/flake.nix b/flake.nix index e9b2688..a2097c1 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-master.url = "github:NixOS/nixpkgs"; + flake-parts.url = "github:hercules-ci/flake-parts"; nixos-anywhere.url = "github:numtide/nixos-anywhere"; diff --git a/overlays/default.nix b/overlays/default.nix index a149bb3..ab9fbb3 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,5 +1,16 @@ { inputs, ... }: { imports = [ inputs.flake-parts.flakeModules.easyOverlay ]; - perSystem = _: { overlayAttrs = { }; }; + perSystem = { system, ... }: + let + nixpkgs-master = import inputs.nixpkgs-master { + inherit system; + + config.allowUnfree = true; + }; + in { + overlayAttrs = { + inherit (nixpkgs-master) prowlarr radarr sabnzbd sonarr; + }; + }; }