feat(inventory): nixin vm init runner and repos WIP
This commit is contained in:
parent
5544bed59a
commit
ce0819a16c
1 changed files with 11 additions and 8 deletions
|
@ -185,17 +185,20 @@ in
|
||||||
mail = "root@forge.chmok.net";
|
mail = "root@forge.chmok.net";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
# create admin
|
# create admin
|
||||||
${adminCmd} create --admin --email "${mail}" --username ${user} --password "${pwd}" || true
|
${adminCmd} create --admin --email "${mail}" --username ${user} --password "${pwd}" || true
|
||||||
## uncomment this line to change an admin user which was already created
|
## uncomment this line to change an admin user which was already created
|
||||||
# ${adminCmd} change-password --username ${user} --password "${pwd}" || true
|
# ${adminCmd} change-password --username ${user} --password "${pwd}" || true
|
||||||
|
|
||||||
# link forgejo runner and forgejo
|
# link forgejo runner and forgejo
|
||||||
${forgejoCmd} || true
|
${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 =
|
environment.systemPackages =
|
||||||
|
|
Loading…
Reference in a new issue