14 lines
353 B
Nix
14 lines
353 B
Nix
{ pkgs, ... }: {
|
|
imports = [ ./base.nix ];
|
|
config.my.scripts.tasks = {
|
|
enable = true;
|
|
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);
|
|
};
|
|
}
|