24 lines
462 B
Nix
24 lines
462 B
Nix
{ lib, pkgs, config, ... }: {
|
|
|
|
deployment = {
|
|
targetHost = "10.0.0.4";
|
|
targetPort = 22;
|
|
targetUser = "root";
|
|
tags = [ "netcup_pve" ];
|
|
};
|
|
networking = {
|
|
hostName = "mastodon";
|
|
interfaces.eth0 = {
|
|
ipAddress = "10.0.0.4";
|
|
prefixLength = 32;
|
|
};
|
|
defaultGateway = {
|
|
address = "10.0.0.254";
|
|
interface = "eth0";
|
|
};
|
|
};
|
|
imports = [
|
|
../../container_config.nix
|
|
../../services/mastodon.nix
|
|
];
|
|
}
|