From 81b81fc230cdff7b1f32db630f38eb17f5d659b1 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Fri, 15 Dec 2023 16:15:07 +0300 Subject: 2023-12-15 --- modules/nixos/firefox/userContent.css | 4 ++-- modules/nixos/loki.nix | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/nixos/firefox/userContent.css b/modules/nixos/firefox/userContent.css index 8615990..82940ec 100644 --- a/modules/nixos/firefox/userContent.css +++ b/modules/nixos/firefox/userContent.css @@ -62,13 +62,13 @@ a[href^="/events"], a[href^="/explore"], a[href^="/github-copilot"], - a[href^="/marketplace"], a[href^="/organizations/enterprise"], a[href^="/settings/enterprises"], a[href^="/sponsors"], a[href^="/topics"], a[href^="/trending"], - a[href^="https://github.com/codespaces"], /* No code reviews on GitHub? */ + a[href^="https://github.com/codespaces"], /* No code reviews on GitHub? How come is this link in production? */ + button[data-testid="copilot-popover-button"], /* Fuck you, GitHub! I'm sick this shit. */ details[id^="funding-links-modal"], footer { display: none !important; diff --git a/modules/nixos/loki.nix b/modules/nixos/loki.nix index 6794ba9..4b17256 100644 --- a/modules/nixos/loki.nix +++ b/modules/nixos/loki.nix @@ -58,13 +58,17 @@ in { rules_directory = "${common.path_prefix}/rules"; }; replication_factor = 1; - instance_interface_names = ["lo"]; ring = { instance_addr = "127.0.0.1"; kvstore.store = "inmemory"; }; }; + ingester = { + chunk_idle_period = "15m"; + max_chunk_age = "15m"; + }; + compactor = { working_directory = "${common.path_prefix}/compactor"; retention_enabled = true; @@ -85,6 +89,7 @@ in { max_global_streams_per_user = 0; max_query_series = 4096; retention_period = "720h"; + deletion_mode = "filter-and-delete"; }; schema_config.configs = [ -- cgit 1.4.1