From 435d9c802814102c1287089d2be60a762e35a3c2 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@privatestorage.io> Date: Wed, 26 May 2021 14:48:27 +0000 Subject: [PATCH] More sensible defaults for the VPN key material location --- nixos/modules/monitoring/vpn/client.nix | 4 ++-- nixos/modules/monitoring/vpn/server.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/monitoring/vpn/client.nix b/nixos/modules/monitoring/vpn/client.nix index ea23a5ba..921a37aa 100644 --- a/nixos/modules/monitoring/vpn/client.nix +++ b/nixos/modules/monitoring/vpn/client.nix @@ -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>. ''; diff --git a/nixos/modules/monitoring/vpn/server.nix b/nixos/modules/monitoring/vpn/server.nix index d6175601..227207a7 100644 --- a/nixos/modules/monitoring/vpn/server.nix +++ b/nixos/modules/monitoring/vpn/server.nix @@ -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. ''; -- GitLab