nixos/machines/Ophanim/configuration.nix

31 lines
633 B
Nix
Raw Normal View History

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
../../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 ];
allowedTCPPorts = [ 80 443 ]; # 5222 5269 ];
allowedUDPPortRanges = [];
allowedTCPPortRanges = [];
2019-02-26 13:44:40 +01:00
};
};
};
}