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