feat: tweaked some microvms

This commit is contained in:
Nick 2025-11-27 05:12:15 -06:00
parent 1f43844e90
commit cb11da0008
6 changed files with 47 additions and 20 deletions

View file

@ -29,8 +29,8 @@ in
privateKeyFile = "/run/secrets/wireguard-pass";
peers = [
{
publicKey = "SFesR+3u5/vyQGeaCSREjs4m2WznwFlWAQ9CE3QSnRg=";
endpoint = "104.254.95.98:${builtins.toString torrentPort}";
publicKey = "QPfiwJQmt5VLEOh1ufLbi1lj6LUnwQY0tgDSh3pWx1k=";
endpoint = "185.111.110.1:${builtins.toString torrentPort}";
allowedIPs = [
"0.0.0.0/0"
"::/0"
@ -76,10 +76,9 @@ in
Port = torrentPort;
MaxConnectionsPerTorrent = -1;
MaxUploads = -1;
MaxUploadsPerTorrent = -1;
MaxActiveDownloads = -1;
MaxActiveUploads = -1;
MaxActiveTorrents = -1;
MaxActiveDownloads = 999;
MaxActiveUploads = 999;
MaxActiveTorrents = 999;
};
};
@ -133,7 +132,7 @@ in
};
microvm = {
vcpu = 1;
vcpu = 4;
mem = 1024 * 1;
hypervisor = "qemu";
@ -180,10 +179,13 @@ in
];
};
environment.systemPackages = with pkgs; [
wireguard-tools
speedtest-go
];
environment.systemPackages = builtins.attrValues {
inherit (pkgs)
wireguard-tools
speedtest-go
bottom
;
};
};
};