style: formatting

Changed files
+17 -21
global
overlays
systems
koumakan
services
databases
+1 -1
global/overlays/default.nix
···
-
_: []
# inputs: [
# # we can probably live without an overlay?
# # inputs.mystia.overlays.default
···
+
_: [ ]
# inputs: [
# # we can probably live without an overlay?
# # inputs.mystia.overlays.default
+16 -20
systems/koumakan/services/databases/postgresql.nix
···
host all all ::1/128 scram-sha-256
'';
-
settings =
-
let
-
credsDir = "/run/credentials/postgresql.service";
-
in
-
{
-
listen_addresses = pkgs.lib.mkForce "*";
-
max_connections = 200;
-
password_encryption = "scram-sha-256";
-
log_line_prefix = "%m [%p] %h ";
-
# ssl = "on";
-
# ssl_cert_file = "${credsDir}/cert.pem";
-
# ssl_key_file = "${credsDir}/key.pem";
-
log_hostname = true;
-
datestyle = "iso, dmy";
-
log_timezone = "Asia/Hong_Kong";
-
timezone = "Asia/Hong_Kong";
-
default_text_search_config = "pg_catalog.english";
-
max_wal_size = "2GB";
-
min_wal_size = "80MB";
-
};
};
users.users.postgres.useDefaultShell = lib.mkForce false;
···
host all all ::1/128 scram-sha-256
'';
+
settings = {
+
listen_addresses = pkgs.lib.mkForce "*";
+
max_connections = 200;
+
password_encryption = "scram-sha-256";
+
log_line_prefix = "%m [%p] %h ";
+
# ssl = "on";
+
# ssl_cert_file = "${credsDir}/cert.pem";
+
# ssl_key_file = "${credsDir}/key.pem";
+
log_hostname = true;
+
datestyle = "iso, dmy";
+
log_timezone = "Asia/Hong_Kong";
+
timezone = "Asia/Hong_Kong";
+
default_text_search_config = "pg_catalog.english";
+
max_wal_size = "2GB";
+
min_wal_size = "80MB";
+
};
};
users.users.postgres.useDefaultShell = lib.mkForce false;