mimir: Wait until tailscale has started

This commit is contained in:
Erwin Boskma 2024-09-18 16:16:19 +02:00
parent 5c89c01e47
commit 0aa4a160d7
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw

View file

@ -260,7 +260,8 @@
};
};
systemd.network = {
systemd = {
network = {
enable = true;
# wait-online.extraArgs = [ "--interface=enp4s0" ];
@ -334,6 +335,14 @@
};
};
services = {
ollama = {
after = [ "tailscaled.service" ];
preStart = "${pkgs.coreutils}/bin/sleep 10"; # Tailscale reports ready before getting an IP address
};
};
};
# programs.ssh.startAgent = true;
programs = {
sway = {