1
0
Fork 0

Services: pin GlueTUN version

This commit is contained in:
Aires 2024-10-28 13:40:55 -04:00
parent c57b1de653
commit cbdef59539
2 changed files with 5 additions and 2 deletions

View file

@ -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 = {

View file

@ -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"