probably broken, car ride modularizing
This commit is contained in:
20
modules/scripts/nextcloud-cronjob.nix
Normal file
20
modules/scripts/nextcloud-cronjob.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
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
|
||||
);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user