infra/systems/x86_64-linux/axol/default.nix
2024-05-21 14:25:42 -07:00

48 lines
719 B
Nix

# axol
# 137.184.177.239
{
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/virtualisation/digital-ocean-config.nix")
];
boot.loader.grub.enable = true;
virtualisation.digitalOcean.rebuildFromUserData = false;
networking.firewall.allowedTCPPorts = [
80
443
];
environment.systemPackages = with pkgs; [
neovim
];
auxolotl = {
nix.enable = true;
users.infra.enable = true;
security = {
doas.enable = true;
acme = {
enable = true;
email = "jake.hamilton@hey.com";
};
};
services = {
ssh.enable = true;
chat.enable = true;
website.enable = true;
};
};
system.stateVersion = "23.11";
}