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