nixos/machines/Ophanim/configuration.nix

43 lines
673 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
2019-02-26 13:44:40 +01:00
{
imports = [
../../options/machine.nix
./Ophanim.nix
2019-02-26 13:44:40 +01:00
];
config.machine = {
hostName = "Ophanim";
2019-02-26 13:44:40 +01:00
allowUnfree = true;
conffiles = [
"etcvars"
"security"
"zsh"
];
pkgs = [
"base"
"emacs"
"server"
];
services = [
"fail2ban"
"gitea"
"hydra"
"mailserver"
"mariaDB"
"nextcloud"
"nginx"
"openssh"
];
firewall = {
allowPing = false;
allowedUDPPorts = [ 22 80 443 ];
allowedTCPPorts = [ 80 443 ]; # 5222 5269 ];
allowedUDPPortRanges = [];
allowedTCPPortRanges = [];
2019-02-26 13:44:40 +01:00
};
};
}