43 lines
640 B
Nix
43 lines
640 B
Nix
|
{
|
||
|
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 = {
|
||
|
acme = {
|
||
|
enable = true;
|
||
|
email = "jake.hamilton@hey.com";
|
||
|
staging = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
website.enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
system.stateVersion = "23.11";
|
||
|
}
|