mimir: Wait until tailscale has started
This commit is contained in:
parent
5c89c01e47
commit
0aa4a160d7
1 changed files with 72 additions and 63 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue