diff --git a/inventory/nixin.nix b/inventory/nixin.nix index 67074b6..d0e7eeb 100644 --- a/inventory/nixin.nix +++ b/inventory/nixin.nix @@ -185,17 +185,20 @@ in mail = "root@forge.chmok.net"; in '' - # create admin - ${adminCmd} create --admin --email "${mail}" --username ${user} --password "${pwd}" || true - ## uncomment this line to change an admin user which was already created - # ${adminCmd} change-password --username ${user} --password "${pwd}" || true + # create admin + ${adminCmd} create --admin --email "${mail}" --username ${user} --password "${pwd}" || true + ## uncomment this line to change an admin user which was already created + # ${adminCmd} change-password --username ${user} --password "${pwd}" || true - # link forgejo runner and forgejo - ${forgejoCmd} || true + # link forgejo runner and forgejo + ${forgejoCmd} forgejo-cli actions register --keep-labels --name nixin-runner \ + --secret 7c31591e8b67225a116d4a4519ea8e507e08f71f || true - # create nixin repository + # forgejo-runner create-runner-file --instance https://example.conf \ + # --secret 7c31591e8b67225a116d4a4519ea8e507e08f71f + # create nixin repository - # create password-store repository + # create password-store repository ''; environment.systemPackages =