nix-config/hosts/servers/alexandria.nix
2022-12-24 09:54:08 -03:00

27 lines
442 B
Nix

{ config, pkgs, lib, ...}:
{
imports = [
# Host-common imports
../common
# Server-common imports
./common
# Host-specific imports
./alexandria
];
nix.nixPath = [ "nixos-config=${./alexandria.nix}" ];
swapDevices = [ { device = "/swapfile"; size = 8192; } ];
networking = {
hostName = "alexandria";
firewall = {
allowedTCPPorts = [
80
443
9666
];
};
};
}