Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
spacedrive # Spacedrive
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
spacedrive # Spacedrive
];
}
Package Definition
{
"pname": "spacedrive",
"version": "0.4.2",
"src": {
"url": "https://github.com/spacedriveapp/spacedrive/releases/download/0.4.2/Spacedrive-darwin-aarch64.dmg",
"sha256": "5b49c5366060af2a538f563aafabecb5d2f451468ff634ce1f9460022af0c6c6"
},
"installPhase": [
"mkdir -p \"$out/Applications/Spacedrive.app\" && cp -r \"Spacedrive.app\" \"$out/Applications\""
],
"meta": {
"description": "Open source cross-platform file explorer",
"homepage": "https://github.com/spacedriveapp/spacedrive"
}
}