feat: use calutron as the public services server
This commit is contained in:
parent
9eafd6f53e
commit
75f0a17fcb
3 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue