migrated tasks and downloads to this flake

This commit is contained in:
2024-12-14 14:08:50 -06:00
parent b33b69a698
commit c12e26ae7d
18 changed files with 953 additions and 25 deletions

View File

@@ -1,18 +1,18 @@
{
description = "Nix flake for the activity logging script";
outputs =
{ self, nixpkgs, ... }@inputs:
{ nixpkgs, ... }:
{
packages.x86_64-linux =
let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
tuh-activity-logger = import ./pkgs/tuh-activity-logger/default.nix {
inherit (pkgs) python3Packages sqlite;
};
tasks = pkgs.writeScriptBin "tasks" (builtins.readFile ./src/tasks.sh);
download = pkgs.callPackage ./pkgs/download.nix { };
webcomix = pkgs.callPackage ./pkgs/webcomix.nix { };
tuh-activity-logger = pkgs.callPackage ./pkgs/tuh-activity-logger.nix { };
};
};
}