From 74849558fd1402b6b141e14f186638999dbbbd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 3 Apr 2024 15:15:35 +0200 Subject: [PATCH] feat(syncthing): remove music and mundoiu --- configs/cloud.nix | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/configs/cloud.nix b/configs/cloud.nix index 531164a..f8adad4 100644 --- a/configs/cloud.nix +++ b/configs/cloud.nix @@ -7,14 +7,6 @@ inherit (import ../lib) tmpfilesConfig; in { systemd.tmpfiles.rules = map tmpfilesConfig [ - { - type = "L+"; - user = config.users.users.me.name; - group = "users"; - mode = "0755"; - argument = "${config.users.users.me.home}/cloud/nextcloud/Uni"; - path = "${config.users.users.me.home}/uni"; - } ]; services.gnome.gnome-keyring.enable = true; @@ -101,15 +93,15 @@ in { key = config.age.secrets.syncthing-key.path; settings = { inherit ((import ../lib).syncthing) devices; - folders = let - cloud-dir = "${config.users.users.me.home}/cloud"; - in { - "${config.users.users.me.home}/sync".devices = ["kabsa" "manakish" "fatteh"]; - "${config.users.users.me.home}/tmp".devices = ["kabsa" "manakish" "fatteh" "heym"]; - "${cloud-dir}/syncthing/mundoiu".devices = ["kabsa" "manakish" "heym" "fatteh"]; - "${cloud-dir}/syncthing/music" = { - devices = ["kabsa" "manakish" "heym" "zaatar" "fatteh"]; - id = "music"; + folders = { + "${config.users.users.me.home}/sync" = { + devices = ["kabsa" "manakish" "fatteh"]; + label = "sync"; + }; + "${config.users.users.me.home}/mobile" = { + devices = ["kabsa" "manakish" "fatteh" "heym"]; + id = "mobile"; + label = "mobile"; }; }; };