nixos/tests: correct comment in radicale.nix (#32574)

The secrets are in fact also stored unhashed, as part of the .drv file
which produces the htpasswd.
release-18.03-flake
Linus Heckemann 2017-12-11 22:09:23 +00:00 committed by Joachim F
parent 4792523a3d
commit e4b32222a3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ let
'';
};
# WARNING: DON'T DO THIS IN PRODUCTION!
# This puts secrets (albeit hashed) directly into the Nix store for ease of testing.
# This puts unhashed secrets directly into the Nix store for ease of testing.
environment.etc."radicale/htpasswd".source = pkgs.runCommand "htpasswd" {} ''
${pkgs.apacheHttpd}/bin/htpasswd -bcB "$out" ${user} ${password}
'';