From 227cc5bc85902ebc0d41f6579ae84577089b8081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Sat, 24 May 2025 13:21:38 +0200 Subject: [PATCH 1/2] fix(gerrit): remove gerrit --- void.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/void.nix b/void.nix index 4954a30..3d96578 100644 --- a/void.nix +++ b/void.nix @@ -312,12 +312,6 @@ settings.Upload.URL = "http://localhost:9428/insert/journald"; }; - services.gerrit = { - enable = true; - listenAddress = "[::]:8923"; - serverId = "b1ea4fd2-4e4a-4063-aa3c-5139a90c58b0"; - }; - networking.firewall.allowedTCPPorts = [ 80 443 @@ -386,11 +380,6 @@ enableACME = true; addSSL = true; }; - "gerrit.005540.xyz" = { - locations."/".proxyPass = "http://localhost:8923"; - enableACME = true; - addSSL = true; - }; }; }; } From 2925bb36728a130ed21ad07cd5a0ceb5d53c79cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Sat, 24 May 2025 13:24:18 +0200 Subject: [PATCH 2/2] fix(jj prompt info): snapshot on new command --- home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 4678e5c..8f15f20 100644 --- a/home.nix +++ b/home.nix @@ -455,7 +455,7 @@ in { command = '' jj log -r@ -n1 --ignore-working-copy --no-graph --stat | tail -n1 | ${pkgs.sd}/bin/sd "(\d+) files? changed, (\d+) insertions?\(\+\), (\d+) deletions?\(-\)" ' ''${1}m ''${2}+ ''${3}-' | ${pkgs.sd}/bin/sd " 0." "" ''; - when = "jj root --ignore-working-copy"; + when = "jj root"; }; git_state.disabled = true; git_commit.disabled = true;