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 = {
enable = true;
repositories.org = {
path = "${config.home.homeDirectory}/Org";
repositories = with config.home; {
org = {
path = "${homeDirectory}/Org";
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 = {
packages = with pkgs; [

View file

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