properly overlayed qbittorrent-api

This commit is contained in:
2025-05-24 14:32:49 -06:00
parent cbc92f1d0d
commit 27aa640418
3 changed files with 23 additions and 3 deletions

17
flake.lock generated
View File

@@ -939,6 +939,22 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1747953325,
@@ -1057,6 +1073,7 @@
"nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_2",
"nixpkgs-small": "nixpkgs-small",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixtendo-switch": "nixtendo-switch",
"nur": "nur",
"sops-nix": "sops-nix",

View File

@@ -2,9 +2,14 @@
lib,
config,
pkgs,
inputs,
...
}:
let
pkgsU = import inputs.nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
qbit_manage_env = pkgs.python3.withPackages (
ps:
builtins.attrValues {
@@ -13,13 +18,13 @@ let
gitpython
humanize
pytimeparse2
qbittorrent-api
requests
retrying
ruamel-yaml
schedule
bencode-py
;
inherit (pkgsU.python3Packages) qbittorrent-api;
}
);
in

View File

@@ -5,7 +5,6 @@
}:
let
pkgs = mkpkgs inputs.nixpkgs;
pkgsU = mkpkgs inputs.nixpkgs-unstable;
in
_final: prev: {
nautilus = prev.nautilus.overrideAttrs (old: {
@@ -51,5 +50,4 @@ _final: prev: {
withVencord = true;
withOpenASAR = true;
};
inherit (pkgsU.python3.withPackages) qbittorrent-api;
}