unison wip
This commit is contained in:
parent
075a0eb59a
commit
a992a7b701
2 changed files with 18 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
colmena
|
colmena
|
||||||
|
unison
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
17
mod/pc-common/sync.nix
Normal file
17
mod/pc-common/sync.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue