Skip to content
Snippets Groups Projects
Commit 296d219a authored by Florian Sesser's avatar Florian Sesser
Browse files

vpn client: use more defaults

parent 0faf6ac7
No related branches found
No related tags found
3 merge requests!101Merge staging into production,!100Merge develop into staging,!87Add monitoring VPN modules and config
......@@ -71,8 +71,6 @@
services.private-storage.monitoring.vpn.client = {
enable = true;
privateKeyFile = /var/secrets/monitoringvpn/client.key;
ip = "172.23.23.11";
endpointPublicKeyFile = /home/flo/Repositories/PrivateStorageio/morph/PrivateStorageSecrets/monitoringvpn/server.pub;
};
}
......@@ -55,6 +55,7 @@ in {
endpointPublicKeyFile = lib.mkOption {
type = lib.types.path;
example = lib.literalExample /var/secrets/monitoringvpn/server.pub;
default = ../../../../morph/PrivateStorageSecrets/monitoringvpn/server.pub;
description = ''
File with base64 public key generated by <command>cat private.key | wg pubkey > pubkey.pub</command>.
'';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment