2019-02-26 13:44:40 +01:00
|
|
|
{
|
|
|
|
confPath = ./Ophanim.nix;
|
|
|
|
pkgs = [
|
|
|
|
"base"
|
|
|
|
"emacs"
|
|
|
|
"server"
|
|
|
|
];
|
|
|
|
services = [
|
|
|
|
../../services/gitea.nix
|
|
|
|
../../services/hydra.nix
|
|
|
|
../../services/mailserver.nix
|
|
|
|
../../services/mariaDB.nix
|
2019-03-04 10:35:50 +01:00
|
|
|
../../services/nextcloud.nix
|
2019-02-26 13:44:40 +01:00
|
|
|
../../services/nginx.nix
|
|
|
|
../../services/openssh.nix
|
|
|
|
];
|
|
|
|
conf = {
|
|
|
|
allowUnfree = true;
|
|
|
|
networking = {
|
|
|
|
hostName = "Ophanim";
|
|
|
|
firewall = {
|
|
|
|
allowPing = false;
|
|
|
|
allowedUDPPorts = [ 22 80 443 ];
|
2019-03-04 10:35:50 +01:00
|
|
|
allowedTCPPorts = [ 80 443 ]; # 5222 5269 ];
|
|
|
|
allowedUDPPortRanges = [];
|
|
|
|
allowedTCPPortRanges = [];
|
2019-02-26 13:44:40 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|