21 lines
397 B
Nix
21 lines
397 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ./base.nix ];
|
|
config.my.scripts.nextcloud-cronjob = {
|
|
enable = true;
|
|
install = false;
|
|
service = true;
|
|
timer = "*:0/10";
|
|
name = "nextcloud-cronjob";
|
|
description = "runs tasks for nextcloud";
|
|
package = pkgs.writeScriptBin "nextcloud-cronjob" (
|
|
builtins.readFile ../../scripts/nextcloud-cronjob.sh
|
|
);
|
|
};
|
|
}
|