Set state version and fix forward ports

This commit is contained in:
Lillian Violet 2024-01-04 22:33:04 +01:00
parent a8fb2c16a0
commit 18208929b0

View file

@ -10,10 +10,13 @@
sops.secrets."wg-private".mode = "0440"; sops.secrets."wg-private".mode = "0440";
sops.secrets."wg-private".owner = config.users.users.aria2.name; sops.secrets."wg-private".owner = config.users.users.aria2.name;
containers.aria2 = { containers.aria2 = {
forwardPorts = { system.stateVersion = "23.11";
forwardPorts = [
{
hostPort = 6969; hostPort = 6969;
protocol = "tcp"; protocol = "tcp";
}; }
];
bindMounts = { bindMounts = {
"/var/lib/media" = { "/var/lib/media" = {
hostPath = "/var/lib/media"; hostPath = "/var/lib/media";