From ba9f3f55b7fd552e3d366f6facecec7e697aefd8 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Sat, 11 Nov 2023 09:27:31 -0800 Subject: [PATCH] book: fixup docs --- book/src/admin-guide/deployment/nixos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/admin-guide/deployment/nixos.md b/book/src/admin-guide/deployment/nixos.md index e5aef81..96b5952 100644 --- a/book/src/admin-guide/deployment/nixos.md +++ b/book/src/admin-guide/deployment/nixos.md @@ -14,13 +14,13 @@ Attic provides [a NixOS module](https://github.com/zhaofengli/attic/blob/main/ni The RS256 JWT secret can be generated with the `openssl` utility: ```bash -nix run nixpkgs#openssl -- genrsa -traditional -out - 4096 | base64 -w0 +nix run nixpkgs#openssl -- genrsa -traditional 4096 | base64 -w0 ``` Create a file on the server containing the following contents: ``` -ATTIC_SERVER_TOKEN_RS256_SECRET="output from above" +ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64="output from above" ``` Ensure the file is only accessible by root.