nixfiles/config/hosts/crime/configuration.nix

26 lines
564 B
Nix
Raw Normal View History

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
../../common-lxc.nix
../../common-nginx.nix
../../headless.nix
];
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
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
}