1
0
Fork 0
nixos/machines/Ophanim/configuration.nix

43 lines
665 B
Nix

{ config, lib }:
with lib;
{
imports = [
../../options/machine.nix
./Ophanim.nix
];
config.machine = {
hostName = "Ophanim";
allowUnfree = true;
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"emacs"
"server"
];
services = [
"gitea"
"hydra"
"mailserver"
"mariaDB"
"nextcloud"
"nginx"
"openssh"
];
firewall = {
allowPing = false;
allowedUDPPorts = [ 22 80 443 ];
allowedTCPPorts = [ 80 443 ]; # 5222 5269 ];
allowedUDPPortRanges = [];
allowedTCPPortRanges = [];
};
};
}