Wrong thing that didn't work
This commit is contained in:
parent
37b5d98587
commit
29eb6b19ea
1 changed files with 12 additions and 12 deletions
|
|
@ -62,20 +62,20 @@ in
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
secrets = {
|
# secrets = {
|
||||||
# mailer.PASSWD = config.age.secrets.forgejo-mailer-password.path;
|
# # mailer.PASSWD = config.age.secrets.forgejo-mailer-password.path;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# systemd.services.forgejo.preStart = let
|
systemd.services.forgejo.preStart = let
|
||||||
# adminCmd = "${lib.getExe cfg.package} admin user";
|
adminCmd = "${lib.getExe cfg.package} admin user";
|
||||||
# pwd = config.age.secrets.biggoron-admin-pass;
|
pwd = config.age.secrets.biggoron-admin-pass;
|
||||||
# user = "biggoron-admin";
|
user = "biggoron-admin";
|
||||||
# in ''
|
in ''
|
||||||
# ${adminCmd} create --admin --email "root@localhost" --username ${user} --password "$(tr -d '\n' < ${pwd.path})" || true
|
${adminCmd} create --admin --email "root@localhost" --username ${user} --password "$(tr -d '\n' < ${pwd.path})" || 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 "$(tr -d '\n' < ${pwd.path})" || true
|
# ${adminCmd} change-password --username ${user} --password "$(tr -d '\n' < ${pwd.path})" || true
|
||||||
# '';
|
'';
|
||||||
|
|
||||||
age.secrets.biggoron-db-pass = {
|
age.secrets.biggoron-db-pass = {
|
||||||
file = ../../../secrets/zora/services/biggoron-db-pass.age;
|
file = ../../../secrets/zora/services/biggoron-db-pass.age;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue