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

More sensible defaults for the VPN key material location

parent 73d379a6
Branches
No related tags found
3 merge requests!101Merge staging into production,!100Merge develop into staging,!87Add monitoring VPN modules and config
Pipeline #545 failed
......@@ -49,8 +49,8 @@ in {
};
endpointPublicKeyFile = lib.mkOption {
type = lib.types.path;
example = lib.literalExample ../../PrivateStorageSecrets/monitoringvpn/server.pub;
default = ../../../../morph/PrivateStorageSecrets/monitoringvpn/server.pub;
example = lib.literalExample ../PrivateStorageSecrets/monitoringvpn/server.pub;
default = ../../../../../PrivateStorageSecrets/monitoringvpn/server.pub;
description = ''
File with base64 public key generated by <command>cat private.key | wg pubkey > pubkey.pub</command>.
'';
......
......@@ -51,8 +51,8 @@ in {
};
pubKeysPath = lib.mkOption {
type = lib.types.path;
example = lib.literalExample ../../../../morph/PrivateStorageSecrets/monitoringvpn;
default = ../../../../morph/PrivateStorageSecrets/monitoringvpn;
example = lib.literalExample ../PrivateStorageSecrets/monitoringvpn;
default = ../../../../../PrivateStorageSecrets/monitoringvpn;
description = ''
The path to the directory that holds the public keys.
'';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment