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 = {