Commit 6faf0e27 authored by Valentin Reis's avatar Valentin Reis

added (cleartext) passwords

parent 3557ff2d
Pipeline #3702 failed with stage
No preview for this file type
...@@ -64,6 +64,7 @@ in ...@@ -64,6 +64,7 @@ in
}; };
services.hydra = { services.hydra = {
useSubstitutes = true;
enable = true; enable = true;
hydraURL = "http://129.114.111.116"; hydraURL = "http://129.114.111.116";
notificationSender = "hydra@example.org"; notificationSender = "hydra@example.org";
...@@ -88,7 +89,8 @@ in ...@@ -88,7 +89,8 @@ in
script = '' script = ''
if [ ! -e ~hydra/.setup-is-complete ]; then if [ ! -e ~hydra/.setup-is-complete ]; then
# create admin user # create admin user
/run/current-system/sw/bin/hydra-create-user alice --full-name 'Alice Q. User' --email-address 'alice@example.org' --password foobar --role admin /run/current-system/sw/bin/hydra-create-user fre --full-name 'Valentin Reis' --email-address 'fre@freux.fr' --password foobar --role admin
/run/current-system/sw/bin/hydra-create-user swann --full-name 'Swann Perarnau' --email-address 'swann@anl.gov' --password swannswann --role admin
# create signing keys # create signing keys
/run/current-system/sw/bin/install -d -m 551 /etc/nix/hydra.example.org-1 /run/current-system/sw/bin/install -d -m 551 /etc/nix/hydra.example.org-1
/run/current-system/sw/bin/nix-store --generate-binary-cache-key hydra.example.org-1 /etc/nix/hydra.example.org-1/secret /etc/nix/hydra.example.org-1/public /run/current-system/sw/bin/nix-store --generate-binary-cache-key hydra.example.org-1 /etc/nix/hydra.example.org-1/secret /etc/nix/hydra.example.org-1/public
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment