nixos/ollama: add network-online.target to ollama-model-loader.service (#443374)

authored by abysssol and committed by GitHub 71e83d7b 9fdd26ca

+5 -1
+5 -1
nixos/modules/services/misc/ollama.nix
··· 270 "multi-user.target" 271 "ollama.service" 272 ]; 273 - after = [ "ollama.service" ]; 274 bindsTo = [ "ollama.service" ]; 275 environment = config.systemd.services.ollama.environment; 276 serviceConfig = {
··· 270 "multi-user.target" 271 "ollama.service" 272 ]; 273 + wants = [ "network-online.target" ]; 274 + after = [ 275 + "ollama.service" 276 + "network-online.target" 277 + ]; 278 bindsTo = [ "ollama.service" ]; 279 environment = config.systemd.services.ollama.environment; 280 serviceConfig = {