From 9f3fe63b5f491db8a2b9daf20d4cdd4f13623542 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Mon, 18 Feb 2019 19:33:36 +0100 Subject: [PATCH] Add some hint on howto get valid signing keys. --- nixos/modules/services/networking/nix-serve.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/modules/services/networking/nix-serve.nix b/nixos/modules/services/networking/nix-serve.nix index 880a1d361dfe..914ea98eef57 100644 --- a/nixos/modules/services/networking/nix-serve.nix +++ b/nixos/modules/services/networking/nix-serve.nix @@ -31,6 +31,15 @@ in default = null; description = '' The path to the file used for signing derivation data. + Generate with: + + ``` + nix-store --generate-binary-cache-key key-name secret-key-file public-key-file + ``` + + Make sure user `nix-serve` has read access to the private key file. + + For more details see nix-store1. ''; };