load pia secret for container
This commit is contained in:
parent
0cbcc30aa1
commit
cfaefc1536
@ -35,6 +35,12 @@
|
|||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
bindMounts = {
|
||||||
|
"/run/secrets" = {
|
||||||
|
hostPath = "/run/secrets";
|
||||||
|
isReadOnly = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
enableTun = true;
|
enableTun = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
hostAddress = "172.16.100.1";
|
hostAddress = "172.16.100.1";
|
||||||
@ -105,6 +111,8 @@
|
|||||||
proxyPass = "http://172.16.100.2:9117";
|
proxyPass = "http://172.16.100.2:9117";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# load the secret on behalf of the container
|
||||||
|
age.secrets."pia-login.conf".file = ../../secrets/pia-login.conf;
|
||||||
|
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.internalInterfaces = [ "ve-jellyfin" ];
|
networking.nat.internalInterfaces = [ "ve-jellyfin" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user