1a17b852a1
The .gitconfig at /home/hermes/.gitconfig was never read because the hermes-agent service sets HOME=/var/lib/hermes. Git identity was already fully covered by GIT_AUTHOR_* and GIT_COMMITTER_* env vars via .env. Replace the dead .gitconfig's init.defaultBranch with the env var GIT_INIT_DEFAULT_BRANCH (supported since Git 2.28).
17 lines
355 B
Nix
17 lines
355 B
Nix
{config, ...}: {
|
|
services.redis.servers.honcho = {
|
|
enable = true;
|
|
port = 6380; # Separate from default Redis (6379) to avoid conflicts
|
|
bind = "127.0.0.1";
|
|
save = [
|
|
[900 1]
|
|
[300 10]
|
|
[60 10000]
|
|
];
|
|
};
|
|
|
|
networking.firewall.extraCommands = ''
|
|
iptables -A INPUT -p tcp -s 127.0.0.1 --dport 6380 -j ACCEPT
|
|
'';
|
|
}
|