diff options
Diffstat (limited to 'modules/retired/stirling-pdf/default.nix')
-rw-r--r-- | modules/retired/stirling-pdf/default.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/retired/stirling-pdf/default.nix b/modules/retired/stirling-pdf/default.nix deleted file mode 100644 index 904fd6d..0000000 --- a/modules/retired/stirling-pdf/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ ... }: -let - directories = [ - "/opt/stirling" - ]; -in -{ - systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories; - virtualisation.oci-containers.containers.pdf-tools = { - image = "frooodle/s-pdf:latest"; - autoStart = true; - ports = [ - "8060:8080" - ]; - volumes = [ - "/opt/stirling/training-data:/usr/share/tesseract-ocr/4.00/tessdata" - "/opt/stirling/configs:/configs" - ]; - environment = { - DOCKER_ENABLE_SECURITY = "false"; - }; - }; -} |