Deployment and lifecycle management for Nix
0
fork

Configure Feed

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

agent: longer activation timeout, fix nixos result

+2 -4
-2
apps/sower_agent/lib/sower_agent/seed.ex
··· 48 48 Logger.error(msg: "Failed to activate", output: output, return_code: code) 49 49 {:error, code} 50 50 end 51 - 52 - {:error, :TODO} 53 51 end 54 52 55 53 defp maybe_sudo_cmd(command, args, opts \\ []) do
+2 -1
apps/sower_agent/lib/sower_agent/task_runner.ex
··· 72 72 73 73 def async_stream(enumerable, func) do 74 74 Task.Supervisor.async_stream_nolink(SowerAgent.TaskSupervisor, enumerable, func, 75 - max_concurrency: 3 75 + max_concurrency: 3, 76 + timeout: 30_000 76 77 ) 77 78 end 78 79 end
-1
justfile
··· 31 31 mix run apps/sower/priv/repo/seeds-user.exs {{ email }} --no-start 32 32 33 33 dev-seed-from-local: 34 - go run ./cmd/cli seed submit --name $(hostname -s) --type nixos --path $(readlink -f /run/booted-system) 35 34 go run ./cmd/cli seed submit --name $(hostname -s) --type nixos --path $(readlink -f /run/current-system) 36 35 go run ./cmd/cli seed submit --name $(hostname -s) --type home-manager --path $(readlink -f $HOME/.local/state/nix/profiles/home-manager) 37 36