nixos/machines/bumblebee.nix

52 lines
854 B
Nix
Raw Normal View History

2025-01-02 22:19:55 +00:00
/*
2025-01-03 00:19:21 +00:00
Name: https://en.wikipedia.org/wiki/Bumblebee_(Transformers)
2025-01-02 22:19:55 +00:00
Why: Created to sell toys so this vm is for games
Type: VM
Hardware: -
2025-01-03 00:19:21 +00:00
From: 2024
2025-01-02 22:19:55 +00:00
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
2025-01-03 00:19:21 +00:00
../applications/games/minecraft.nix
2025-01-02 22:19:55 +00:00
];
deployment = {
targetHost = hostname;
targetPort = 22;
targetUser = null;
tags = ["active"];
};
services.skynet = {
host = host;
backup.enable = true;
pelican = {
wing = {
enable = true;
node_name = "node01";
};
};
};
}