31 lines
561 B
Nix
31 lines
561 B
Nix
|
{ lib, ... }:
|
||
|
{
|
||
|
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
||
|
../../digital-ocean/configuration.nix
|
||
|
];
|
||
|
|
||
|
deployment.targetHost = "64.23.168.148";
|
||
|
|
||
|
networking = {
|
||
|
hostName = "thebe";
|
||
|
firewall = {
|
||
|
enable = true;
|
||
|
allowedTCPPorts = [ 80 443 ];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
programs.mosh.enable = true;
|
||
|
|
||
|
services = {
|
||
|
nginx.enable = true;
|
||
|
openssh.enable = true;
|
||
|
};
|
||
|
|
||
|
security.acme = {
|
||
|
acceptTerms = true;
|
||
|
defaults.email = "jrpotter2112@gmail.com";
|
||
|
};
|
||
|
|
||
|
system.stateVersion = "23.11";
|
||
|
}
|