From 9d9d84699bc1bce6aac253cb70e97c100d1e4c84 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 23 Jan 2025 21:22:42 -0500 Subject: Retired modules have migrated to separate repo --- modules/retired/stirling-pdf/default.nix | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 modules/retired/stirling-pdf/default.nix (limited to 'modules/retired/stirling-pdf') 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"; - }; - }; -} -- cgit v1.2.3