14 lines
367 B
Nix
14 lines
367 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
imports = [ ./base.nix ];
|
|
config.my.scripts.tasks = {
|
|
enable = lib.mkDefault false;
|
|
install = true;
|
|
service = true;
|
|
name = "tasks";
|
|
timer = "*:0/10";
|
|
description = "Runs a bunch of organizing tasks on selected directories";
|
|
package = pkgs.writeScriptBin "tasks" (builtins.readFile ../../scripts/tasks.sh);
|
|
};
|
|
}
|