{ config, pkgs, lib, ... }: with lib; let helper = import ./lib.nix { inherit config pkgs lib; }; cfg = config.numbus.services.it-tools; in helper.mkPodmanService { name = "it-tools"; description = "Immich, Google Photos but better"; defaultPort = "8880"; pod = "false"; composeText = '' services: it-tools: image: docker.io/corentinth/it-tools:latest container_name: it-tools hostname: it-tools networks: it-tools_frontend: ports: - "${cfg.port}:80/tcp" restart: unless-stopped networks: it-tools_frontend: name: it-tools_frontend driver: bridge ipam: config: - subnet: "10.89.9.0/24" gateway: "10.89.9.254" ''; }