fix overlay

This commit is contained in:
Chris Dombroski 2024-08-20 12:25:27 -04:00
parent b94eb3c95b
commit d596295ae5
3 changed files with 10 additions and 12 deletions

View file

@ -30,12 +30,7 @@
outputs = inputs@{ self, nixpkgs, flake-utils, home-manager, deploy-rs outputs = inputs@{ self, nixpkgs, flake-utils, home-manager, deploy-rs
, impermanence, stylix, nixos-hardware, nixunstable, ... }: , impermanence, stylix, nixos-hardware, nixunstable, ... }:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs { system = "x86_64-linux"; };
system = "x86_64-linux";
overlays = [
(import ./overlays/recyclarr.nix)
];
};
aarch64Pkgs = import nixpkgs { system = "aarch64-linux"; }; aarch64Pkgs = import nixpkgs { system = "aarch64-linux"; };
pkgs-unstable = import nixunstable { system = "x86_64-linux"; }; pkgs-unstable = import nixunstable { system = "x86_64-linux"; };
deployAarch64Pkgs = import nixpkgs { deployAarch64Pkgs = import nixpkgs {

View file

@ -9,6 +9,9 @@
settings = { experimental-features = [ "nix-command" "flakes" ]; }; settings = { experimental-features = [ "nix-command" "flakes" ]; };
optimise.automatic = true; optimise.automatic = true;
}; };
nixpkgs.overlays = [
(import ../../overlays/recyclarr.nix)
];
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";

View file

@ -1,15 +1,15 @@
{ config, pkgs, fetchurl, ...}: final: prev:
self: super:
let let
os = "linux"; os = "linux";
arch = "x64"; arch = "x64";
hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7";
version = "7.2.1";
in in
{ {
recyclarr = super.recyclarr.overrideAttrs (old: rec { recyclarr = prev.recyclarr.overrideAttrs (old: {
version = "7.2.1"; inherit version;
name = "recyclarr-${version}"; name = "recyclarr-${version}";
hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7"; src = prev.fetchurl {
src = fetchurl {
url = "https://github.com/recyclarr/recyclarr/releases/download/v${version}/recyclarr-${os}-${arch}.tar.xz"; url = "https://github.com/recyclarr/recyclarr/releases/download/v${version}/recyclarr-${os}-${arch}.tar.xz";
inherit hash; inherit hash;
}; };