};
config = lib.mkIf cfg.enable {
- services.duplyBackup.profiles.tasks = {
- rootDir = "/var/lib";
- excludeFile = ''
- + /var/lib/taskserver
- + /var/lib/taskwarrior-web
- - /var/lib
- '';
+ myServices.chatonsProperties.services.taskwarrior = {
+ file.datetime = "2022-08-22T00:00:00";
+ service = {
+ name = "Taskwarrior";
+ description = "Taskwarrior is Free and Open Source Software that manages your TODO list from the command line. Web interface and synchronization server";
+ website = "https://task.immae.eu/";
+ logo = "https://taskwarrior.org/favicon.ico";
+ status.level = "OK";
+ status.description = "OK";
+ registration."" = ["MEMBER" "CLIENT"];
+ registration.load = "OPEN";
+ install.type = "PACKAGE";
+ };
+ software = {
+ name = "Taskwarrior";
+ website = "https://taskwarrior.org/";
+ license.url = "https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/LICENSE";
+ license.name = "MIT License";
+ version = pkgs.webapps.taskwarrior-web.version;
+ source.url = "https://taskwarrior.org/download/";
+ };
};
-
secrets.keys = {
"webapps/tools-taskwarrior-web" = {
user = "wwwrun";
};
security.acme.certs."task" = config.myServices.certificates.certConfig // {
- inherit user group;
+ inherit group;
domain = fqdn;
postRun = ''
systemctl restart taskserver.service