nix-infra/configs/containers/cube/forgejo_container.nix
2025-11-15 23:59:44 +01:00

25 lines
461 B
Nix

{ lib, pkgs, config, ... }: {
deployment = {
targetHost = "10.0.0.6";
targetPort = 22;
targetUser = "root";
tags = [ "netcup_pve" ];
};
networking = {
hostName = "forgejo";
interfaces.eth0 = {
ipAddress = "10.0.0.6";
prefixLength = 32;
};
defaultGateway = {
address = "10.0.0.254";
interface = "eth0";
};
};
imports = [
../../container_config.nix
../../services/forgejo.nix
];
}