From ed0e6af0c890102f8e69ed92f1ee1f127a0089d7 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 9 Jun 2025 21:20:35 +0300 Subject: [PATCH] treewide: delete trailing spaces --- hosts/best/postgresql.nix | 20 ++++++++++---------- hosts/disk/mail.nix | 2 +- hosts/nine/mail.nix | 2 +- lib/values.nix | 2 +- modules/darwin/karabiner.nix | 4 ++-- modules/linux/hyprland/hyprland.nix | 4 ++-- modules/linux/kitty.nix | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/hosts/best/postgresql.nix b/hosts/best/postgresql.nix index 6fab817..763ca59 100644 --- a/hosts/best/postgresql.nix +++ b/hosts/best/postgresql.nix @@ -4,13 +4,13 @@ # postgres -C shared_memory_size_in_huge_pages -D /var/lib/postgresql/. boot.kernel.sysctl."vm.nr_hugepages" = 5265; - # Generated by + # Generated by . services.postgresql.settings = { - # Connectivity + # Connectivity: max_connections = 100; superuser_reserved_connections = 3; - # Memory Settings + # Memory Settings: shared_buffers = "10240 MB"; work_mem = "64 MB"; maintenance_work_mem = "620 MB"; @@ -19,23 +19,23 @@ effective_io_concurrency = 100; random_page_cost = 1.25; - # Monitoring + # Monitoring: shared_preload_libraries = "pg_stat_statements"; track_io_timing = "on"; track_functions = "pl"; - # Replication + # Replication: wal_level = "replica"; max_wal_senders = 10; synchronous_commit = "on"; - # Checkpointing: + # Checkpointing: checkpoint_timeout = "15 min"; checkpoint_completion_target = 0.9; max_wal_size = "1024 MB"; min_wal_size = "512 MB"; - # WAL writing + # WAL writing: wal_compression = "on"; wal_buffers = -1; wal_writer_delay = "200ms"; @@ -43,20 +43,20 @@ wal_keep_size = "3650 MB"; - # Background writer + # Background writer: bgwriter_delay = "200ms"; bgwriter_lru_maxpages = 100; bgwriter_lru_multiplier = 2.0; bgwriter_flush_after = 0; - # Parallel queries: + # Parallel queries: max_worker_processes = 20; max_parallel_workers_per_gather = 10; max_parallel_maintenance_workers = 10; max_parallel_workers = 20; parallel_leader_participation = "on"; - # Advanced features + # Advanced features: enable_partitionwise_join = "on"; enable_partitionwise_aggregate = "on"; jit = "on"; diff --git a/hosts/disk/mail.nix b/hosts/disk/mail.nix index ba40048..3029b19 100644 --- a/hosts/disk/mail.nix +++ b/hosts/disk/mail.nix @@ -8,4 +8,4 @@ in { mailserver = { inherit fqdn; }; -} +} diff --git a/hosts/nine/mail.nix b/hosts/nine/mail.nix index d5cc46e..2ba1b2c 100644 --- a/hosts/nine/mail.nix +++ b/hosts/nine/mail.nix @@ -11,4 +11,4 @@ in { # Not [ domain ] because this is a backup mailserver. contact@mail2.rgbcu.be. domains = [ fqdn ]; }; -} +} diff --git a/lib/values.nix b/lib/values.nix index 196d9d5..84207b4 100644 --- a/lib/values.nix +++ b/lib/values.nix @@ -12,7 +12,7 @@ in { contents = self.contents ++ [ next ]; }; }; - + enabled = merge { enable = true; }; disabled = merge { enable = false; }; } diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index b1d4c35..76fa5e0 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -114,12 +114,12 @@ manipulators = allBasic [ { from.key_code = "quote"; - + to = [{ key_code = "i"; }]; } { from.key_code = "i"; - + to = [{ key_code = "quote"; }]; } ]; diff --git a/modules/linux/hyprland/hyprland.nix b/modules/linux/hyprland/hyprland.nix index 8c18b40..c9cb071 100644 --- a/modules/linux/hyprland/hyprland.nix +++ b/modules/linux/hyprland/hyprland.nix @@ -146,7 +146,7 @@ in merge <| mkIf config.isDesktop { "SUPER+SHIFT, j, movewindow, d" "SUPER+SHIFT, k, movewindow, u" "SUPER+SHIFT, l, movewindow, r" - + "SUPER , Q, killactive" "SUPER , F, fullscreen" "SUPER+SHIFT, F, togglefloating" @@ -158,7 +158,7 @@ in merge <| mkIf config.isDesktop { "SUPER , Z , exec, zulip" "SUPER , M , exec, thunderbird" "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" "SHIFT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png" diff --git a/modules/linux/kitty.nix b/modules/linux/kitty.nix index 854f7ff..a76b13b 100644 --- a/modules/linux/kitty.nix +++ b/modules/linux/kitty.nix @@ -35,7 +35,7 @@ in merge <| mkIf config.isDesktop { background = base00; foreground = base05; - + selection_background = base02; selection_foreground = base00;