HermitNix_DEPRECATED/Hosts/hertog-server/configuration.nix

29 lines
987 B
Nix
Raw Normal View History

2023-11-06 19:14:02 +00:00
{ config, pkgs, ... }:
{
networking.hostName = "HermitCollective";
networking.domain = "hermitcollective.net";
# Configure keymap in X11
services.xserver = {
layout = "us";
xkbVariant = "";
};
# Accept ACME terms
security.acme.acceptTerms = true;
security.acme.defaults.email = "hertog@fsfe.org";
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 80 443 8080 8181 1935 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
}