2023-09-15 19:36:07 +00:00
|
|
|
/*
|
|
|
|
|
2023-09-17 19:51:08 +00:00
|
|
|
Name: https://hitchhikers.fandom.com/wiki/Earth
|
|
|
|
Why: Our home(page)
|
|
|
|
Type: VM
|
|
|
|
Hardware: -
|
|
|
|
From: 2023
|
|
|
|
Role: Webserver
|
|
|
|
Notes:
|
2023-09-15 19:36:07 +00:00
|
|
|
*/
|
2023-09-17 19:51:08 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
nodes,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
name = "earth";
|
|
|
|
ip_pub = "193.1.99.79";
|
|
|
|
hostname = "${name}.skynet.ie";
|
2024-05-30 13:11:45 +00:00
|
|
|
host = {
|
|
|
|
ip = ip_pub;
|
|
|
|
name = name;
|
2024-05-30 16:55:29 +00:00
|
|
|
hostname = hostname;
|
2024-05-30 13:11:45 +00:00
|
|
|
};
|
2023-09-15 19:36:07 +00:00
|
|
|
in {
|
|
|
|
imports = [
|
2024-06-14 19:38:46 +00:00
|
|
|
../applications/skynet.ie/skynet.ie.nix
|
2024-07-09 21:12:41 +00:00
|
|
|
../applications/skynet.ie/wiki.nix
|
2023-09-15 19:36:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
deployment = {
|
2024-05-23 23:00:44 +00:00
|
|
|
targetHost = hostname;
|
2023-09-15 19:36:07 +00:00
|
|
|
targetPort = 22;
|
2023-09-30 22:18:14 +00:00
|
|
|
targetUser = null;
|
2023-09-15 19:36:07 +00:00
|
|
|
|
2023-09-17 19:51:08 +00:00
|
|
|
tags = ["active-core"];
|
2023-09-15 19:36:07 +00:00
|
|
|
};
|
|
|
|
|
2024-05-30 16:55:29 +00:00
|
|
|
services.skynet = {
|
2024-05-30 13:11:45 +00:00
|
|
|
host = host;
|
2024-05-30 16:55:29 +00:00
|
|
|
backup.enable = true;
|
|
|
|
website.enable = true;
|
2024-07-09 21:12:41 +00:00
|
|
|
wiki.enable = true;
|
2023-09-16 00:35:26 +00:00
|
|
|
};
|
2023-09-17 19:51:08 +00:00
|
|
|
}
|