aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-03-23 12:14:52 +0100
committerKarel Kočí <cynerd@email.cz>2023-03-23 12:14:52 +0100
commita6ad2ec33705aae0a9fc99ffdd300ae5f68e2c6e (patch)
tree78058946bdd7dc1e609cc31819c4ea6fcae8cc06
parent1e890df4cc9a53025d7a41f0de55552e814fa444 (diff)
downloadnixos-personal-a6ad2ec33705aae0a9fc99ffdd300ae5f68e2c6e.tar.gz
nixos-personal-a6ad2ec33705aae0a9fc99ffdd300ae5f68e2c6e.tar.bz2
nixos-personal-a6ad2ec33705aae0a9fc99ffdd300ae5f68e2c6e.zip
nixos/openvpn: accept DNS from elektroline VPN
-rw-r--r--nixos/modules/openvpn.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/openvpn.nix b/nixos/modules/openvpn.nix
index ee62582..d2c7319 100644
--- a/nixos/modules/openvpn.nix
+++ b/nixos/modules/openvpn.nix
@@ -38,6 +38,7 @@ in {
elektroline = mkIf cnf.elektroline {
autoStart = false;
config = "config /run/secrets/elektroline.ovpn";
+ updateResolvConf = true;
};
};
};