feat: Gonna use the space left behind Optimus to test this out

Relates to #76
This commit is contained in:
silver 2024-06-06 23:33:54 +01:00
parent 69bd2be07c
commit 3e10c14a4b
Signed by: silver
GPG key ID: 54E2C71918E93B74
5 changed files with 119 additions and 0 deletions

42
machines/deepthought.nix Normal file
View file

@ -0,0 +1,42 @@
/*
Name: https://hitchhikers.fandom.com/wiki/Deep_Thought
Why: Our home(page)
Type: VM
Hardware: -
From: 2023
Role: Public Backup
Notes:
*/
{
pkgs,
lib,
nodes,
inputs,
...
}: let
name = "deepthought";
ip_pub = "193.1.99.112";
hostname = "${name}.skynet.ie";
host = {
ip = ip_pub;
name = name;
hostname = hostname;
};
in {
imports = [
];
deployment = {
targetHost = ip_pub;
targetPort = 22;
targetUser = null;
tags = ["active-core"];
};
services.skynet = {
host = host;
backup.nuked.enable = true;
};
}