pdr: secret??
This commit is contained in:
parent
b57795bead
commit
6d7417dfc7
1 changed files with 3 additions and 3 deletions
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
|
||||
sops.templates."secrets.yaml" = {
|
||||
content = lib.generators.toYAML {
|
||||
content = (builtins.toJSON {
|
||||
db = {
|
||||
pass = config.sops.placeholder.db_password;
|
||||
};
|
||||
};
|
||||
});
|
||||
owner = config.services.iceshrimp.user;
|
||||
group = config.services.iceshrimp.group;
|
||||
};
|
||||
|
@ -35,7 +35,7 @@
|
|||
dbPasswordFile = config.sops.secrets.db_password.path;
|
||||
createDb = true;
|
||||
configureNginx.enable = false;
|
||||
secretConfig = config.sops.templates."secrets.yaml".path;
|
||||
secretConfig = config.sops.templates."secrets.yaml".path;
|
||||
};
|
||||
|
||||
services.postgresql.package = pkgs.postgresql_15;
|
||||
|
|
Loading…
Add table
Reference in a new issue