inputs.process-compose-deploy.url = "github:misuzu/process-compose-deploy";
imports = [ inputs.process-compose-deploy.nixosModule ];
services.process-compose-deploy.default.enable = true;
sudo process-compose-adm-default attach
sudo process-compose-deploy-default $(nix build --print-out-paths --no-link github:misuzu/process-compose-deploy?dir=example/simple) -v
sudo process-compose-deploy-default $(nix build --print-out-paths --no-link github:misuzu/process-compose-deploy?dir=example/microvm) -v
sudo process-compose-deploy-default $(nix build --print-out-paths --no-link github:juspay/services-flake?dir=example/simple) -v
# build the flake
nix build github:juspay/services-flake?dir=example/simple
# push the build result to cache (e.g. attic)
nix shell nixpkgs#attic-client -c attic push mycache $(readlink -f ./result)
# deploy
ssh myuser@myhost sudo process-compose-deploy-default $(readlink -f ./result)
process-compose-flake
: Aflake-parts
module to spin up processes for development by leveragingprocess-compose
.services-flake
: NixOS-like services built on top ofprocess-compose-flake
.microvm.nix
: NixOS MicroVMs.attic
: Multi-tenant Nix Binary Cache.