feat: got teh panel working

This commit is contained in:
silver 2024-12-09 23:08:39 +00:00
parent b13683e40c
commit de1aea7abd
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
7 changed files with 294 additions and 28 deletions

45
machines/optimus.nix Normal file
View file

@ -0,0 +1,45 @@
/*
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 = "optimus-test";
ip_pub = "193.1.99.85";
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.panel.enable = true;
};
}