We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 1259c46 commit 150e2b5Copy full SHA for 150e2b5
nixos/modules/services/misc/dysnomia.nix
@@ -192,9 +192,11 @@ in
192
mysqlPassword = builtins.readFile (config.services.mysql.rootPassword);
193
};
194
}
195
- // lib.optionalAttrs (config.services.postgresql.enable && cfg.enableAuthentication) { postgresql-database = {
196
- postgresqlUsername = "root";
197
- }; }
+ // lib.optionalAttrs (config.services.postgresql.enable) { postgresql-database = {
+ } // lib.optionalAttrs (cfg.enableAuthentication) {
+ postgresqlUsername = "postgres";
198
+ };
199
+ }
200
// lib.optionalAttrs (config.services.tomcat.enable) { tomcat-webapplication = {
201
tomcatPort = 8080;
202
}; }
0 commit comments