nix-config/hosts/gnunet/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
453 B
Nix
Raw Normal View History

2022-07-06 21:09:04 +02:00
{
system.stateVersion = "22.05";
c3d2.hq.statistics.enable = true;
2022-11-17 17:53:26 +01:00
deployment = {
# needs to keep just its ssh key for sops-nix
persistedShares = [ "/etc" "/var" ];
mem = 1024;
2022-07-06 21:09:04 +02:00
};
networking = {
hostName = "gnunet";
firewall.enable = false;
};
services.gnunet = {
enable = true;
2022-07-07 00:32:02 +02:00
load = {
# bits/s
maxNetDownBandwidth = 1000 * 1000 * 1000;
maxNetUpBandwidth = 1 * 1000 * 1000;
2022-07-07 00:32:02 +02:00
};
2022-07-06 21:09:04 +02:00
};
}