{ lib, pkgs, config, ... } let image = pkgs.dockerTools.buildImage { name = "scheming-schemer/first"; config = { fromImage = "asuri/ctf-xinetd"; tag = "latest"; runAsRoot = '' rm -rf /etc/xinetd.d/* useradd -U -m ig && mkdir -p /home/ctf-xinetd ''; }; } with lib; { options = {} config = { virtualisation.oci-containers.containers = { first-scheming-schemer = { image = "asauri/ctf-xinetd:latest"; }; }; }; }