2024-07-25 18:46:20 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
networking.hostName = "public01";
|
|
|
|
# TODO: make it the default
|
|
|
|
networking.domain = "infra.forkos.org";
|
|
|
|
|
|
|
|
bagel.sysadmin.enable = true;
|
2024-08-30 22:22:27 +00:00
|
|
|
# Newsletter is proxied.
|
2024-07-25 18:46:20 +00:00
|
|
|
bagel.raito.v6-proxy-awareness.enable = true;
|
2024-08-21 14:27:00 +00:00
|
|
|
bagel.newsletter = {
|
|
|
|
enable = true;
|
|
|
|
domain = "news.forkos.org";
|
|
|
|
};
|
2024-07-25 18:46:20 +00:00
|
|
|
bagel.hardware.raito-vm = {
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
|
|
nat-lan-mac = "BC:24:11:A4:F7:D3";
|
|
|
|
wan = {
|
|
|
|
address = "2001:bc8:38ee:100:1000::60/64";
|
|
|
|
mac = "BC:24:11:DB:B8:10";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-30 22:22:27 +00:00
|
|
|
bagel.services.s3-revproxy = {
|
|
|
|
enable = true;
|
|
|
|
domain = "forkos.org";
|
|
|
|
s3.apiUrl = "s3.delroth.net";
|
|
|
|
targets = {
|
|
|
|
channels = "bagel-channels";
|
|
|
|
releases = "bagel-releases";
|
|
|
|
channel-scripts-test = "bagel-channel-scripts-test";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-07-25 18:46:20 +00:00
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
deployment.targetHost = "public01.infra.forkos.org";
|
|
|
|
}
|