mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
feat(syncthing): reduce complexity
This commit is contained in:
@@ -15,6 +15,14 @@ in {
|
|||||||
argument = "${config.users.users.me.home}/cloud/nextcloud/Uni";
|
argument = "${config.users.users.me.home}/cloud/nextcloud/Uni";
|
||||||
path = "${config.users.users.me.home}/uni";
|
path = "${config.users.users.me.home}/uni";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
type = "L+";
|
||||||
|
user = config.users.users.me.name;
|
||||||
|
group = "users";
|
||||||
|
mode = "0755";
|
||||||
|
argument = "${config.users.users.me.home}/cloud/syncthing/zotero/storage";
|
||||||
|
path = "${config.users.users.me.home}/Zotero/storage";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
@@ -25,12 +33,6 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
startInBackground = true;
|
startInBackground = true;
|
||||||
};
|
};
|
||||||
systemd.user.services.nextcloud-client = {
|
|
||||||
Unit = {
|
|
||||||
Wants = ["gnome-keyring.service"];
|
|
||||||
After = ["gnome-keyring.service"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.nextcloud-syncer = {
|
systemd.user.services.nextcloud-syncer = {
|
||||||
@@ -110,14 +112,8 @@ in {
|
|||||||
folders = let
|
folders = let
|
||||||
cloud-dir = "${config.users.users.me.home}/cloud";
|
cloud-dir = "${config.users.users.me.home}/cloud";
|
||||||
in {
|
in {
|
||||||
"${cloud-dir}/syncthing/zotero/storage".devices = ["kabsa" "manakish" "fatteh"];
|
"${config.users.users.me.home}/sync".devices = ["kabsa" "manakish" "fatteh"];
|
||||||
"${cloud-dir}/syncthing/common".devices = ["kabsa" "manakish" "fatteh"];
|
|
||||||
"${cloud-dir}/syncthing/library".devices = ["kabsa" "manakish" "heym" "fatteh"];
|
|
||||||
"${cloud-dir}/syncthing/mundoiu".devices = ["kabsa" "manakish" "heym" "fatteh"];
|
"${cloud-dir}/syncthing/mundoiu".devices = ["kabsa" "manakish" "heym" "fatteh"];
|
||||||
"${cloud-dir}/syncthing/obsidian" = {
|
|
||||||
devices = ["kabsa" "manakish" "heym" "fatteh"];
|
|
||||||
id = "3r1hu-3barr";
|
|
||||||
};
|
|
||||||
"${cloud-dir}/syncthing/music" = {
|
"${cloud-dir}/syncthing/music" = {
|
||||||
devices = ["kabsa" "manakish" "heym" "zaatar" "fatteh"];
|
devices = ["kabsa" "manakish" "heym" "zaatar" "fatteh"];
|
||||||
id = "music";
|
id = "music";
|
||||||
|
|||||||
Reference in New Issue
Block a user