diff --git a/mod/common/shell.nix b/mod/common/shell.nix index 307ffb2..87463df 100644 --- a/mod/common/shell.nix +++ b/mod/common/shell.nix @@ -19,6 +19,7 @@ wget wl-clipboard colmena + unison ]; programs = { diff --git a/mod/pc-common/sync.nix b/mod/pc-common/sync.nix new file mode 100644 index 0000000..365fb0e --- /dev/null +++ b/mod/pc-common/sync.nix @@ -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" + ]; + }; + }; +}