Register thebe machine.

main
Joshua Potter 2024-01-10 09:28:31 -07:00
parent 9a14edf011
commit d2921e0985
2 changed files with 35 additions and 0 deletions

View File

@ -34,6 +34,7 @@
framework = tapir.pkgs;
deimos = tapir.pkgs;
phobos = tapir.pkgs;
thebe = tapir.pkgs;
};
nodeSpecialArgs = {
framework = {
@ -45,6 +46,9 @@
phobos = {
inherit (tapir) sops-nix;
};
thebe = {
inherit (tapir);
};
};
};
@ -62,6 +66,7 @@
deimos.imports = [ ./hive/deimos ];
phobos.imports = [ ./hive/phobos ];
thebe.imports = [ ./hive/thebe ];
};
packages.${system}.digital-ocean = {

30
hive/thebe/default.nix Normal file
View File

@ -0,0 +1,30 @@
{ 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";
}