Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
syncthing-app # Syncthing
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
syncthing-app # Syncthing
];
}
Package Definition
{
"pname": "syncthing-app",
"version": "1.30.0-1",
"src": {
"url": "https://github.com/syncthing/syncthing-macos/releases/download/v1.30.0-1/Syncthing-1.30.0-1.dmg",
"sha256": "f647abafcf4f67dd1f430c4f7eaad296e8ee2d863d4c7bfa35efdc504aeddd85"
},
"installPhase": [
"mkdir -p \"$out/Applications/Syncthing.app\" && cp -r \"Syncthing.app\" \"$out/Applications\""
],
"meta": {
"description": "Real time file synchronisation software",
"homepage": "https://syncthing.net/"
}
}