Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
pieces-os # Pieces OS
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
pieces-os # Pieces OS
];
}
Package Definition
{
"pname": "pieces-os",
"version": "10.1.12",
"src": {
"url": "https://builds.pieces.app/stages/production/os_server/macos-arm64/download",
"sha256": "no_check"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"Pieces OS.app\" \"$out/Applications/Pieces OS.app\""
],
"meta": {
"description": "Local datastore, server, and ML engine powering the Pieces for Developers Suite",
"homepage": "https://pieces.app/"
}
}