Let's set a db password too
This commit is contained in:
parent
aab4b5c8e3
commit
648af57762
2 changed files with 6 additions and 2 deletions
|
@ -5,6 +5,8 @@
|
|||
}: {
|
||||
sops.secrets."writefreely".mode = "0440";
|
||||
sops.secrets."writefreely".owner = config.users.users.writefreely.name;
|
||||
sops.secrets."writefreelymysql".mode = "0440";
|
||||
sops.secrets."writefreelymysql".owner = config.users.users.writefreely.name;
|
||||
services.writefreely = {
|
||||
enable = true;
|
||||
host = "writefreely.gladtherescake.eu";
|
||||
|
@ -14,6 +16,7 @@
|
|||
database = {
|
||||
type = "mysql";
|
||||
createLocally = true;
|
||||
passwordFile = config.sops.secrets."writefreelymysql".path;
|
||||
};
|
||||
admin = {
|
||||
initialPasswordFile = config.sops.secrets."writefreely".path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue