mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
treewide: delete trailing spaces
This commit is contained in:
parent
ad88e6ce79
commit
ed0e6af0c8
7 changed files with 18 additions and 18 deletions
|
@ -4,13 +4,13 @@
|
||||||
# postgres -C shared_memory_size_in_huge_pages -D /var/lib/postgresql/<version>.
|
# postgres -C shared_memory_size_in_huge_pages -D /var/lib/postgresql/<version>.
|
||||||
boot.kernel.sysctl."vm.nr_hugepages" = 5265;
|
boot.kernel.sysctl."vm.nr_hugepages" = 5265;
|
||||||
|
|
||||||
# Generated by <https://pgconfigurator.cybertec.at/>
|
# Generated by <https://pgconfigurator.cybertec.at/>.
|
||||||
services.postgresql.settings = {
|
services.postgresql.settings = {
|
||||||
# Connectivity
|
# Connectivity:
|
||||||
max_connections = 100;
|
max_connections = 100;
|
||||||
superuser_reserved_connections = 3;
|
superuser_reserved_connections = 3;
|
||||||
|
|
||||||
# Memory Settings
|
# Memory Settings:
|
||||||
shared_buffers = "10240 MB";
|
shared_buffers = "10240 MB";
|
||||||
work_mem = "64 MB";
|
work_mem = "64 MB";
|
||||||
maintenance_work_mem = "620 MB";
|
maintenance_work_mem = "620 MB";
|
||||||
|
@ -19,12 +19,12 @@
|
||||||
effective_io_concurrency = 100;
|
effective_io_concurrency = 100;
|
||||||
random_page_cost = 1.25;
|
random_page_cost = 1.25;
|
||||||
|
|
||||||
# Monitoring
|
# Monitoring:
|
||||||
shared_preload_libraries = "pg_stat_statements";
|
shared_preload_libraries = "pg_stat_statements";
|
||||||
track_io_timing = "on";
|
track_io_timing = "on";
|
||||||
track_functions = "pl";
|
track_functions = "pl";
|
||||||
|
|
||||||
# Replication
|
# Replication:
|
||||||
wal_level = "replica";
|
wal_level = "replica";
|
||||||
max_wal_senders = 10;
|
max_wal_senders = 10;
|
||||||
synchronous_commit = "on";
|
synchronous_commit = "on";
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
max_wal_size = "1024 MB";
|
max_wal_size = "1024 MB";
|
||||||
min_wal_size = "512 MB";
|
min_wal_size = "512 MB";
|
||||||
|
|
||||||
# WAL writing
|
# WAL writing:
|
||||||
wal_compression = "on";
|
wal_compression = "on";
|
||||||
wal_buffers = -1;
|
wal_buffers = -1;
|
||||||
wal_writer_delay = "200ms";
|
wal_writer_delay = "200ms";
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
wal_keep_size = "3650 MB";
|
wal_keep_size = "3650 MB";
|
||||||
|
|
||||||
|
|
||||||
# Background writer
|
# Background writer:
|
||||||
bgwriter_delay = "200ms";
|
bgwriter_delay = "200ms";
|
||||||
bgwriter_lru_maxpages = 100;
|
bgwriter_lru_maxpages = 100;
|
||||||
bgwriter_lru_multiplier = 2.0;
|
bgwriter_lru_multiplier = 2.0;
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
max_parallel_workers = 20;
|
max_parallel_workers = 20;
|
||||||
parallel_leader_participation = "on";
|
parallel_leader_participation = "on";
|
||||||
|
|
||||||
# Advanced features
|
# Advanced features:
|
||||||
enable_partitionwise_join = "on";
|
enable_partitionwise_join = "on";
|
||||||
enable_partitionwise_aggregate = "on";
|
enable_partitionwise_aggregate = "on";
|
||||||
jit = "on";
|
jit = "on";
|
||||||
|
|
|
@ -158,7 +158,7 @@ in merge <| mkIf config.isDesktop {
|
||||||
"SUPER , Z , exec, zulip"
|
"SUPER , Z , exec, zulip"
|
||||||
"SUPER , M , exec, thunderbird"
|
"SUPER , M , exec, thunderbird"
|
||||||
"SUPER , T , exec, thunar"
|
"SUPER , T , exec, thunar"
|
||||||
# "SUPER , C , exec, hyprpicker --autocopy"
|
"SUPER , C , exec, hyprpicker --autocopy"
|
||||||
|
|
||||||
" , PRINT, exec, pkill grim; grim -g \"$(slurp -w 0)\" - | swappy -f - -o - | wl-copy --type image/png"
|
" , PRINT, exec, pkill grim; grim -g \"$(slurp -w 0)\" - | swappy -f - -o - | wl-copy --type image/png"
|
||||||
"SHIFT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png"
|
"SHIFT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue