unison wip

This commit is contained in:
Henri Dohmen 2025-05-29 23:13:35 +02:00
parent 075a0eb59a
commit a992a7b701
2 changed files with 18 additions and 0 deletions

17
mod/pc-common/sync.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
home.services.unison = {
enable = true;
package = pkgs.unison;
pairs = {
"docs".roots = [
"/home/hd/Documents"
"ssh://roam//home/hd/Documents"
];
"desktop".roots = [
"/home/hd/Desktop"
"ssh://roam//home/hd/Desktop"
];
};
};
}