s/pwd/password/ for clarity
This commit is contained in:
parent
49a9a24c75
commit
35d46ca712
1 changed files with 2 additions and 2 deletions
|
@ -34,11 +34,11 @@ in
|
|||
systemd.services.forgejo.preStart =
|
||||
let
|
||||
adminCmd = "${lib.getExe config.services.forgejo.package} admin user";
|
||||
pwd = config.age.secrets.forgejoAdminPass.path;
|
||||
password = config.age.secrets.forgejoAdminPass.path;
|
||||
user = "tdback";
|
||||
email = "tyler@tdback.net";
|
||||
in ''
|
||||
${adminCmd} create --admin --email ${email} --username ${user} --password "$(tr -d '\n' < ${pwd})" || true
|
||||
${adminCmd} create --admin --email ${email} --username ${user} --password "$(tr -d '\n' < ${password})" || true
|
||||
'';
|
||||
|
||||
services.openssh.settings.AllowUsers = [ "forgejo" ];
|
||||
|
|
Loading…
Reference in a new issue