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": "2.1.2-1",
"src": {
"url": "https://github.com/syncthing/syncthing-macos/releases/download/v2.1.2-1/Syncthing-2.1.2-1.dmg",
"sha256": "be56fc9807bc5e37332237ba479b77bde852c5f0d861c950674255999bbba0f6"
},
"installPhase": [
"mkdir -p \"$out/Applications/Syncthing.app\" && cp -r \"Syncthing.app\" \"$out/Applications\""
],
"meta": {
"description": "Real time file synchronisation software",
"homepage": "https://syncthing.net/"
}
}