25 lines
461 B
Nix
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
|
|
];
|
|
}
|
|
|