this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: annoy keep alive service

dusk a82a152c e6695472

+15
+15
hosts/wolumonde/modules/blog.nix
··· 43 43 }; 44 44 }; 45 45 46 + systemd.services.annoy-keep-alive = { 47 + description = "keeps annoy peer connection alive"; 48 + wantedBy = [ "multi-user.target" ]; 49 + after = [ "network.target" ]; 50 + serviceConfig = { 51 + Type = "oneshot"; 52 + ExecStart = "${pkgs.curl}/bin/curl http://100.64.0.1:3111/"; 53 + }; 54 + }; 55 + systemd.timers.annoy-keep-alive.timerConfig = { 56 + OnBootSec = "5 min"; 57 + OnUnitActiveSec = "5 min"; 58 + Unit = "annoy-keep-alive.service"; 59 + }; 60 + 46 61 services.nginx.virtualHosts."gaze.systems" = { 47 62 locations."/".proxyPass = "http://localhost:${toString port}"; 48 63 locations."/annoy/ws/" = {