migrated scripts to separate flake

This commit is contained in:
2024-12-14 16:30:47 -06:00
parent a325009332
commit 16b0a42aca
14 changed files with 50 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ inputs, lib, ... }:
{
imports = [ ./base.nix ];
config.my.scripts.manage-library = {
@@ -8,6 +8,6 @@
name = "manage-library";
timer = "00:30";
description = "scans the library directory and sorts files";
package = pkgs.writeScriptBin "manage-library" (builtins.readFile ../../scripts/manage-library.sh);
package = inputs.jawz-scripts.packages.x86_64-linux.manage-library;
};
}