2024-01-17 14:34:33 +01:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
imports = [
|
2024-01-17 15:49:17 +01:00
|
|
|
./nginx.nix
|
2024-01-17 14:34:33 +01:00
|
|
|
../../common
|
2024-01-18 16:03:31 +01:00
|
|
|
../../common-dus.nix
|
2024-01-17 14:34:33 +01:00
|
|
|
../../common-lxc.nix
|
|
|
|
../../common-nginx.nix
|
2024-01-18 16:03:31 +01:00
|
|
|
../../common-headless.nix
|
2024-01-17 14:34:33 +01:00
|
|
|
];
|
|
|
|
networking = {
|
|
|
|
hostName = "crime";
|
|
|
|
firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
firewall.allowedUDPPorts = [ 443 ];
|
|
|
|
};
|
|
|
|
systemd.network.networks."98-eth-default" = {
|
|
|
|
address = [
|
|
|
|
"2a0f:be01:0:100::1337/128"
|
2024-01-17 19:34:13 +01:00
|
|
|
"2a0f:be01:0:100::1338/128"
|
2024-01-17 14:34:33 +01:00
|
|
|
];
|
|
|
|
};
|
2024-01-17 15:49:17 +01:00
|
|
|
|
2024-01-18 16:03:31 +01:00
|
|
|
security.acme.certs = {
|
|
|
|
"fentanyl.trade" = { extraDomainNames = [ "frotti.ng" "watch.kyouma.net" ]; };
|
|
|
|
"crime.kyouma.net" = {};
|
|
|
|
};
|
|
|
|
|
2024-01-17 15:49:17 +01:00
|
|
|
services.jellyfin.enable = true;
|
2024-01-17 19:34:13 +01:00
|
|
|
services.sonarr.enable = true;
|
|
|
|
services.radarr.enable = true;
|
|
|
|
services.prowlarr.enable = true;
|
2024-01-17 14:34:33 +01:00
|
|
|
}
|