aria2_exporter: Include as flake
This commit is contained in:
parent
8e02008cb4
commit
8a5a5e9a1c
24
flake.lock
24
flake.lock
|
@ -1,5 +1,28 @@
|
|||
{
|
||||
"nodes": {
|
||||
"aria2_exporter": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
"flake-utils"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1619942657,
|
||||
"narHash": "sha256-T6lYBOrRCz/0IKnD5s09IqCtGVY/Y0u5RfnyE+jnTTM=",
|
||||
"owner": "sbruder",
|
||||
"repo": "aria2_exporter",
|
||||
"rev": "11af495d33bfa3d3e3f0dda93f17874bbef4ef97",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "sbruder",
|
||||
"repo": "aria2_exporter",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"bang-evaluator": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
|
@ -173,6 +196,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"aria2_exporter": "aria2_exporter",
|
||||
"bang-evaluator": "bang-evaluator",
|
||||
"flake-utils": "flake-utils",
|
||||
"home-manager": "home-manager",
|
||||
|
|
|
@ -29,10 +29,15 @@
|
|||
bang-evaluator.url = "git+https://git.sbruder.de/simon/bangs";
|
||||
bang-evaluator.inputs.flake-utils.follows = "flake-utils";
|
||||
bang-evaluator.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
aria2_exporter.url = "github:sbruder/aria2_exporter";
|
||||
aria2_exporter.inputs.flake-utils.follows = "flake-utils";
|
||||
aria2_exporter.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ self
|
||||
, aria2_exporter
|
||||
, bang-evaluator
|
||||
, flake-utils
|
||||
, home-manager
|
||||
|
@ -156,6 +161,7 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
|
||||
aria2_exporter.nixosModules.aria2_exporter
|
||||
bang-evaluator.nixosModules.bang-evaluator
|
||||
|
||||
# NIX_PATH for legacy tooling and flake registry pinning
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
final: prev:
|
||||
let
|
||||
inherit (prev) callPackage;
|
||||
srcs = import ./srcs.nix;
|
||||
in
|
||||
{
|
||||
bwrap-helper = callPackage ./bwrap-helper { };
|
||||
|
@ -15,8 +14,6 @@ in
|
|||
imprint = callPackage ./imprint { };
|
||||
};
|
||||
|
||||
aria2_exporter = import srcs.aria2_exporter { pkgs = final; };
|
||||
|
||||
# adapted nixpkgs upstream but changed to buildGoModule and updated to
|
||||
# version that works in my setup
|
||||
prometheus-fritzbox-exporter = callPackage ./prometheus-fritzbox-exporter { };
|
||||
|
|
|
@ -5,6 +5,5 @@ in
|
|||
{
|
||||
imports = [
|
||||
./wordclock-dimmer/module.nix
|
||||
"${srcs.aria2_exporter}/module.nix"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
aria2_exporter = fetchTarball {
|
||||
url = "https://github.com/sbruder/aria2_exporter/archive/141a9c0bdbfea2cda4e7a620cc74435a9d549c70.tar.gz";
|
||||
sha256 = "1drdhlpfdwsaizi3ys4z6pd0cc19f0rq0ry21b98hphb37cv2cnb";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue