Compare commits
No commits in common. "2925bb36728a130ed21ad07cd5a0ceb5d53c79cc" and "dd20686294b906b8b49cf2b6c90f18e2dec03b66" have entirely different histories.
2925bb3672
...
dd20686294
2 changed files with 12 additions and 1 deletions
2
home.nix
2
home.nix
|
|
@ -455,7 +455,7 @@ in {
|
||||||
command = ''
|
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." ""
|
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";
|
when = "jj root --ignore-working-copy";
|
||||||
};
|
};
|
||||||
git_state.disabled = true;
|
git_state.disabled = true;
|
||||||
git_commit.disabled = true;
|
git_commit.disabled = true;
|
||||||
|
|
|
||||||
11
void.nix
11
void.nix
|
|
@ -312,6 +312,12 @@
|
||||||
settings.Upload.URL = "http://localhost:9428/insert/journald";
|
settings.Upload.URL = "http://localhost:9428/insert/journald";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.gerrit = {
|
||||||
|
enable = true;
|
||||||
|
listenAddress = "[::]:8923";
|
||||||
|
serverId = "b1ea4fd2-4e4a-4063-aa3c-5139a90c58b0";
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
|
|
@ -380,6 +386,11 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
};
|
};
|
||||||
|
"gerrit.005540.xyz" = {
|
||||||
|
locations."/".proxyPass = "http://localhost:8923";
|
||||||
|
enableACME = true;
|
||||||
|
addSSL = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue