From 12a4a1c98697b38f484d247c1d85d634543f2409 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 26 Sep 2021 11:07:58 +0200 Subject: sif/vidhar: unison --- accounts/gkleen@sif/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index dfdec275..362a3474 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -183,6 +183,16 @@ in { "@button9" = "${pkgs.pulseaudio}/bin/pacmd set-sink-mute @DEFAULT_SINK@ 0"; }; }; + + unison = { + enable = true; + pairs = { + documents = { + roots = ["${cfg.home.homeDirectory}/documents" "ssh://vidhar/documents"]; + stateDirectory = "${cfg.xdg.dataHome}/documents.unison"; + }; + }; + }; }; gtk = { -- cgit v1.2.3