23 lines
345 B
Nix
23 lines
345 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
virtualisation.oci-containers.containers.codex-lb = {
|
|
image = "ghcr.io/soju06/codex-lb:latest";
|
|
autoStart = true;
|
|
|
|
ports = [
|
|
"2455:2455"
|
|
"1455:1455"
|
|
];
|
|
|
|
volumes = [
|
|
"codex-lb-data:/var/lib/codex-lb"
|
|
];
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
2455
|
|
1455
|
|
];
|
|
}
|