Services: pin GlueTUN version
This commit is contained in:
parent
c57b1de653
commit
cbdef59539
|
@ -189,7 +189,10 @@ in
|
||||||
vpn = {
|
vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
privateKey = config.secrets.services.protonvpn.privateKey;
|
privateKey = config.secrets.services.protonvpn.privateKey;
|
||||||
countries = [ "Netherlands" ];
|
countries = [
|
||||||
|
"Switzerland"
|
||||||
|
"Netherlands"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ssh = {
|
ssh = {
|
||||||
|
|
|
@ -93,7 +93,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
gluetun = lib.mkIf cfg.vpn.enable {
|
gluetun = lib.mkIf cfg.vpn.enable {
|
||||||
image = "qmcgaw/gluetun:latest";
|
image = "qmcgaw/gluetun:v3";
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--cap-add=NET_ADMIN"
|
"--cap-add=NET_ADMIN"
|
||||||
"--device=/dev/net/tun"
|
"--device=/dev/net/tun"
|
||||||
|
|
Loading…
Reference in a new issue