nix-config/hosts/servers/alexandria.nix
2022-12-23 11:37:08 -03:00

29 lines
490 B
Nix

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