19 lines
390 B
Nix
19 lines
390 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ./base.nix ];
|
|
config.my.scripts.manage-library = {
|
|
enable = true;
|
|
install = true;
|
|
service = true;
|
|
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);
|
|
};
|
|
}
|