Hacks to make nix module system-based services (and beyond) runnable on non-NixOS systems.
- nixos module system-based stuff is in
nixos/
- totally standalone stuff is in
./
(start atsproxy.nix
)
Stuff in this repo is experimental. Code that survived natural selection evolves to upcast.
Now part of upcast
.
% upcast install -t $(awk '/HostName/{print $2}' test/ssh_config) \
-f hydra \
-p /nix/var/nix/profiles/sproxy-defnix \
$(upcast build-remote -t hydra.zalora.com -A sproxy sproxy.nix)
% ssh -F test/ssh_config /nix/var/nix/profiles/sproxy-defnix/bin/supervisord
% env NIX_PATH=$PWD/nix-path nix-build ipsec/
% upcast install -t target -f hydra -p /nix/var/nix/profiles/ipsec /nix/store/xxx-ipsec
systemd
-> supervisord
stub and some ideas have been taken from nix-rehash.
Some code was taken from Upcast which in turn inherited it from NixOps.