1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{ config, ... }: let port = 79; in { networking.firewall.allowedTCPPorts = [ port ]; virtualisation.oci-containers.containers.gigi = { inherit (config.modules.containers) extraOptions; image = "fuwn/gigi"; autoStart = true; volumes = [ "/mnt/docker/gigi:/gigi/.gigi" ]; ports = let portString = builtins.toString port; in [ "${portString}:${portString}" ]; }; }