{ config, pkgs, lib, ... }: with lib; let it-toolsVersion = "2024.10.22-7ca5933"; helper = import ./lib.nix { inherit config pkgs lib; }; cfg = config.numbus.services.it-tools; in helper.mkPodmanService { description = "IT-tools, useful tools when doing IT"; name = "it-tools"; pod = "false"; defaultPort = "8880"; configDir = false; dataDir = false; # Compose file good composeText = '' services: it-tools: image: docker.io/corentinth/it-tools:${it-toolsVersion} container_name: it-tools hostname: it-tools networks: it-tools: ports: - "${cfg.port}:80/tcp" restart: unless-stopped networks: it-tools: name: it-tools driver: bridge ''; }