14 lines
375 B
Nix
14 lines
375 B
Nix
{ 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);
|
|
};
|
|
}
|