ldid port to nix OS