Deployment and lifecycle management for Nix
0
fork

Configure Feed

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

cleanup for 0.10

+23 -29
+22
doc/ideas.org
··· 1 + * TODO bail out nixos if not root 2 + * TODO boot check for containers 3 + can we just check if boot-system matches out_path? 4 + * TODO differentiate built seed branch? 5 + 6 + * Stories 7 + - I want to switch nightly but boot/reboot once a week 8 + - I want some systems to never downgrade manually applied changes 9 + 10 + * Scheduling 11 + Time/Day windows 12 + Frequency/cron scheduler 13 + - download 14 + - switch 15 + - boot 16 + - reboot 17 + 18 + * Inhbiting 19 + Allow for inhibiting of all phases of maintenance. 20 + Settings for not rolling back manually applied generations. 21 + May want to have client load track generations<->out_path 22 + Provide a runtime inhibition. So I can connect to a system, inhibit in /run and when I reboot inhibition will be gone
+1 -1
nix/package.nix
··· 15 15 in 16 16 beamPackages.mixRelease { 17 17 pname = "sower"; 18 - version = "0.0.1-dev"; 18 + version = "0.1.0"; 19 19 20 20 src = lib.fileset.toSource { 21 21 root = ../.;
-28
nix/sower-tree.nix
··· 1 - { 2 - lib, 3 - beamPackages, 4 - makeWrapper, 5 - }: 6 - beamPackages.mixRelease { 7 - pname = "sower-tree"; 8 - version = "0.0.1-dev"; 9 - 10 - src = ../cmd/sower_tree; 11 - 12 - elixir = beamPackages.elixir_1_16; 13 - 14 - mixNixDeps = import ../cmd/sower_tree/mix.nix { inherit lib beamPackages; }; 15 - 16 - postBuild = '' 17 - mix escript.build --no-deps-check 18 - ''; 19 - 20 - postInstall = '' 21 - cp sower_tree $out/bin/sower-tree 22 - wrapProgram $out/bin/sower-tree --set ERL_LIBS $out/lib --prefix PATH : ${ 23 - lib.makeBinPath [ beamPackages.erlang ] 24 - } 25 - ''; 26 - 27 - meta.mainProgram = "sower-tree"; 28 - }