From 35d46ca712241ecfe31892d8b7d0f2834a1b7c2d Mon Sep 17 00:00:00 2001 From: tdback Date: Tue, 12 Nov 2024 21:00:09 -0500 Subject: [PATCH] s/pwd/password/ for clarity --- modules/forgejo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/forgejo/default.nix b/modules/forgejo/default.nix index f6dc27e..0e6b073 100644 --- a/modules/forgejo/default.nix +++ b/modules/forgejo/default.nix @@ -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" ];