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,23 +19,23 @@
|
||||||
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";
|
||||||
|
|
||||||
# Checkpointing:
|
# Checkpointing:
|
||||||
checkpoint_timeout = "15 min";
|
checkpoint_timeout = "15 min";
|
||||||
checkpoint_completion_target = 0.9;
|
checkpoint_completion_target = 0.9;
|
||||||
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,20 +43,20 @@
|
||||||
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;
|
||||||
bgwriter_flush_after = 0;
|
bgwriter_flush_after = 0;
|
||||||
|
|
||||||
# Parallel queries:
|
# Parallel queries:
|
||||||
max_worker_processes = 20;
|
max_worker_processes = 20;
|
||||||
max_parallel_workers_per_gather = 10;
|
max_parallel_workers_per_gather = 10;
|
||||||
max_parallel_maintenance_workers = 10;
|
max_parallel_maintenance_workers = 10;
|
||||||
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";
|
||||||
|
|
|
@ -8,4 +8,4 @@ in {
|
||||||
mailserver = {
|
mailserver = {
|
||||||
inherit fqdn;
|
inherit fqdn;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,4 @@ in {
|
||||||
# Not [ domain ] because this is a backup mailserver. contact@mail2.rgbcu.be.
|
# Not [ domain ] because this is a backup mailserver. contact@mail2.rgbcu.be.
|
||||||
domains = [ fqdn ];
|
domains = [ fqdn ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ in {
|
||||||
contents = self.contents ++ [ next ];
|
contents = self.contents ++ [ next ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
enabled = merge { enable = true; };
|
enabled = merge { enable = true; };
|
||||||
disabled = merge { enable = false; };
|
disabled = merge { enable = false; };
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,12 +114,12 @@
|
||||||
manipulators = allBasic [
|
manipulators = allBasic [
|
||||||
{
|
{
|
||||||
from.key_code = "quote";
|
from.key_code = "quote";
|
||||||
|
|
||||||
to = [{ key_code = "i"; }];
|
to = [{ key_code = "i"; }];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
from.key_code = "i";
|
from.key_code = "i";
|
||||||
|
|
||||||
to = [{ key_code = "quote"; }];
|
to = [{ key_code = "quote"; }];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -146,7 +146,7 @@ in merge <| mkIf config.isDesktop {
|
||||||
"SUPER+SHIFT, j, movewindow, d"
|
"SUPER+SHIFT, j, movewindow, d"
|
||||||
"SUPER+SHIFT, k, movewindow, u"
|
"SUPER+SHIFT, k, movewindow, u"
|
||||||
"SUPER+SHIFT, l, movewindow, r"
|
"SUPER+SHIFT, l, movewindow, r"
|
||||||
|
|
||||||
"SUPER , Q, killactive"
|
"SUPER , Q, killactive"
|
||||||
"SUPER , F, fullscreen"
|
"SUPER , F, fullscreen"
|
||||||
"SUPER+SHIFT, F, togglefloating"
|
"SUPER+SHIFT, F, togglefloating"
|
||||||
|
@ -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"
|
||||||
|
|
|
@ -35,7 +35,7 @@ in merge <| mkIf config.isDesktop {
|
||||||
|
|
||||||
background = base00;
|
background = base00;
|
||||||
foreground = base05;
|
foreground = base05;
|
||||||
|
|
||||||
selection_background = base02;
|
selection_background = base02;
|
||||||
selection_foreground = base00;
|
selection_foreground = base00;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue