feat: bumblebee created

This commit is contained in:
silver 2025-01-02 22:19:55 +00:00
parent a0ba2d0903
commit 7b3fc3a5e1
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
7 changed files with 113 additions and 82 deletions

50
machines/bumblebee.nix Normal file
View file

@ -0,0 +1,50 @@
/*
Name: https://en.wikipedia.org/wiki/Optimus_Prime
Why: Created to sell toys so this vm is for games
Type: VM
Hardware: -
From: 2023
Role: Game host
Notes:
*/
{
pkgs,
lib,
nodes,
arion,
...
}: let
# name of the server, sets teh hostname and record for it
name = "bumblebee";
ip_pub = "193.1.99.91";
hostname = "${name}.skynet.ie";
host = {
ip = ip_pub;
name = name;
hostname = hostname;
};
in {
imports = [
../applications/pelican/pelican.nix
];
deployment = {
targetHost = hostname;
targetPort = 22;
targetUser = null;
tags = ["active"];
};
services.skynet = {
host = host;
backup.enable = true;
pelican = {
wing = {
enable = true;
node_name = "node01";
};
};
};
}