diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-15 16:15:07 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-15 16:15:07 +0300 |
commit | 81b81fc230cdff7b1f32db630f38eb17f5d659b1 (patch) | |
tree | e9248b581b871d75453307897b81b6a522c9679d /modules/nixos | |
parent | 2023-12-12 (diff) |
2023-12-15
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/firefox/userContent.css | 4 | ||||
-rw-r--r-- | modules/nixos/loki.nix | 7 |
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 = [ |