sid.ovh/modules/nixos/journald-upload/default.nix
sid 0c68ed16f7
Some checks failed
Build hosts / build-hosts (pull_request) Failing after 1s
Flake check / flake-check (pull_request) Failing after 1s
journald-upload needs to wait for tailscaled
2026-05-19 14:03:35 +02:00

15 lines
342 B
Nix

{
services.journald.upload = {
enable = true;
settings.Upload.URL = "http://100.64.0.6:19532";
};
systemd.services.systemd-journal-upload = {
after = [
"tailscaled.service"
"network-online.target"
];
wants = [ "network-online.target" ];
timeoutStartSec = 10; # Tailscale can be slow to start
};
}