feat: use calutron as the public services server

This commit is contained in:
silver 2024-05-30 13:12:37 +01:00
parent 9eafd6f53e
commit 75f0a17fcb
Signed by: silver
GPG key ID: 54E2C71918E93B74
3 changed files with 15 additions and 13 deletions

View file

@ -1,11 +1,11 @@
/*
Name:
Why: Speed everything up
Name: https://futurama.fandom.com/wiki/Calculon
Why: Public Service server
Type: VM
Hardware: -
From: 2024
Role: Nix Cache
Role: Public services such as Nix Cache, Open governance stuff.
Notes:
*/
{
@ -18,9 +18,16 @@ Notes:
name = "calculon";
ip_pub = "193.1.99.82";
hostname = "${name}.skynet.ie";
host = {
ip = ip_pub;
name = name;
};
in {
imports = [
../applications/nix_cache/nix_cache.nix
../applications/open_governance/open_governance.nix
../applications/open_governance/keyserver.nix
];
deployment = {
@ -46,8 +53,9 @@ in {
}
];
services.skynet.nix-cache.host = {
ip = ip_pub;
name = name;
services.skynet = {
nix-cache.host = host;
open-governance.host = host;
keyserver.host = host;
};
}