nix-config/hosts/servers/alexandria.nix
2023-04-06 09:45:01 -03:00

24 lines
419 B
Nix

{ inputs, 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 ]; };
};
}