From 27afd14e9f8ccfa27bf157d4d81338902ec76a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 25 Feb 2023 15:48:27 +0000 Subject: [PATCH] rename syncthing folders to match Gnome defaults --- nixos/syncthing.nix | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/nixos/syncthing.nix b/nixos/syncthing.nix index 1629da75..c035a1e7 100644 --- a/nixos/syncthing.nix +++ b/nixos/syncthing.nix @@ -1,11 +1,7 @@ -{ - config, - pkgs, - inputs, - ... -}: let - workstations = ["skinnyv" "foureighty" "thinky"]; - workstations_plus_phone = ["OnePlus9"] ++ workstations; +{ config, pkgs, inputs, ... }: +let + workstations = [ "skinnyv" "foureighty" "thinky" ]; + workstations_plus_phone = [ "OnePlus9" ] ++ workstations; in { services.syncthing = { enable = true; @@ -36,12 +32,12 @@ in { "/home/cyryl/vaults" = { id = "vaults"; label = "vaults"; - devices = workstations_plus_phone ++ ["hagath"]; + devices = workstations_plus_phone ++ [ "hagath" ]; }; - "/home/cyryl/documents" = { + "/home/cyryl/Documents" = { id = "documents"; label = "documents"; - devices = workstations_plus_phone ++ ["hagath"]; + devices = workstations_plus_phone ++ [ "hagath" ]; }; "/home/cyryl/camera" = { id = "camera"; @@ -58,25 +54,25 @@ in { label = "rpg"; devices = workstations; }; - "/home/cyryl/music" = { + "/home/cyryl/Music" = { id = "music"; label = "music"; devices = workstations; }; - "/home/cyryl/photos" = { + "/home/cyryl/Photos" = { id = "photos"; label = "photos"; - devices = workstations ++ ["hagath"]; + devices = workstations ++ [ "hagath" ]; }; "/home/cyryl/gopro" = { id = "gopro"; label = "gopro"; devices = workstations; }; - "/home/cyryl/videos" = { + "/home/cyryl/Videos" = { id = "videos"; label = "videos"; - devices = workstations ++ ["hagath"]; + devices = workstations ++ [ "hagath" ]; }; }; extraOptions = {