Switch to using git-sync for elfeed and notmuch databases

Disable both in syncthing
This commit is contained in:
Evie Litherland-Smith 2023-10-26 13:30:44 +01:00
parent 278dff99ed
commit 80ddaf9cfc
2 changed files with 13 additions and 15 deletions

View file

@ -9,10 +9,20 @@
}; };
services.git-sync = { services.git-sync = {
enable = true; enable = true;
repositories.org = { repositories = with config.home; {
path = "${config.home.homeDirectory}/Org"; org = {
path = "${homeDirectory}/Org";
uri = "git+https://git.xenia.me.uk/xenia/Org.git"; uri = "git+https://git.xenia.me.uk/xenia/Org.git";
}; };
notmuch = {
path = "${homeDirectory}/.notmuch";
uri = "git+https://git.xenia.me.uk/xenia/notmuch.git";
};
elfeed = {
path = "${homeDirectory}/.elfeed";
uri = "git+https://git.xenia.me.uk/xenia/elfeed.git";
};
};
}; };
home = { home = {
packages = with pkgs; [ packages = with pkgs; [

View file

@ -22,18 +22,6 @@ in {
"I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK"; "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK";
}; };
folders = { folders = {
"Elfeed" = {
inherit devices;
id = "hnnxy-lb5af";
path = "${dataDir}/.elfeed";
ignorePerms = true;
};
"Notmuch" = {
inherit devices;
id = "yiaiy-xrnse";
path = "${dataDir}/.notmuch";
ignorePerms = true;
};
"Pictures" = { "Pictures" = {
inherit devices; inherit devices;
id = "ziuj8-rm6dn"; id = "ziuj8-rm6dn";