mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-26 14:45:29 -08:00
added nightly preview render
This commit is contained in:
parent
e89a705b65
commit
055452b2ba
1 changed files with 11 additions and 0 deletions
|
@ -74,4 +74,15 @@
|
||||||
requires = ["postgresql.service"];
|
requires = ["postgresql.service"];
|
||||||
after = ["postgresql.service"];
|
after = ["postgresql.service"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.nextcloud-preview = {
|
||||||
|
description = "Generate previews for all images that haven't been rendered";
|
||||||
|
path = with pkgs; [
|
||||||
|
config.services.nextcloud.occ
|
||||||
|
];
|
||||||
|
script = ''
|
||||||
|
nextcloud-occ preview:pre-generate
|
||||||
|
'';
|
||||||
|
startAt = "01:00:00";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue