nix-infra/configs/containers/mastodon_container.nix

19 lines
366 B
Nix

{ lib, pkgs, config, ... }: {
deployment = {
targetHost = "192.168.178.81";
targetPort = 22;
targetUser = "root";
};
networking.hostName = "mastodon";
networking.interfaces.wgbr.ipv4.addresses = [
{
address = "10.8.1.6";
prefixLength = 24;
}
];
imports = [
../container_config.nix
../services/mastodon.nix
];
}