From c763001c5772c4af8775dec6fd8ef3271c4e3f05 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 28 Jun 2021 10:01:26 -0400 Subject: [PATCH] Remove a couple more PrivateStorageSecrets references They're only example but they scare me when they show up in grep results --- nixos/modules/monitoring/vpn/client.nix | 3 +-- nixos/modules/monitoring/vpn/server.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/modules/monitoring/vpn/client.nix b/nixos/modules/monitoring/vpn/client.nix index dbd50b82..ed1933e3 100644 --- a/nixos/modules/monitoring/vpn/client.nix +++ b/nixos/modules/monitoring/vpn/client.nix @@ -48,7 +48,7 @@ in { }; endpointPublicKeyFile = lib.mkOption { type = lib.types.path; - example = lib.literalExample ../PrivateStorageSecrets/monitoringvpn/server.pub; + example = lib.literalExample ./monitoringvpn/server.pub; description = '' File with base64 public key generated by <command>cat private.key | wg pubkey > pubkey.pub</command>. ''; @@ -71,4 +71,3 @@ in { }; }; } - diff --git a/nixos/modules/monitoring/vpn/server.nix b/nixos/modules/monitoring/vpn/server.nix index 2374ddc8..3c41e020 100644 --- a/nixos/modules/monitoring/vpn/server.nix +++ b/nixos/modules/monitoring/vpn/server.nix @@ -51,7 +51,7 @@ in { }; pubKeysPath = lib.mkOption { type = lib.types.path; - example = lib.literalExample ../PrivateStorageSecrets/monitoringvpn; + example = lib.literalExample ./monitoringvpn; description = '' The path to the directory that holds the public keys. ''; @@ -69,4 +69,3 @@ in { }; }; } - -- GitLab