about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/nixos/firefox/userContent.css4
-rw-r--r--modules/nixos/loki.nix7
2 files changed, 8 insertions, 3 deletions
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 = [

Consider giving Nix/NixOS a try! <3