Skip to content

Commit

Permalink
Use nixpkgs master for some packages (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethnt authored Sep 5, 2024
1 parent 8ef1475 commit 2d2c60d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
13 changes: 12 additions & 1 deletion overlays/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
};
}

0 comments on commit 2d2c60d

Please sign in to comment.