rename syncthing folders to match Gnome defaults

This commit is contained in:
Cyryl Płotnicki 2023-02-25 15:48:27 +00:00
parent 7568f2e4b8
commit 27afd14e9f

View file

@ -1,11 +1,7 @@
{ { config, pkgs, inputs, ... }:
config, let
pkgs, workstations = [ "skinnyv" "foureighty" "thinky" ];
inputs, workstations_plus_phone = [ "OnePlus9" ] ++ workstations;
...
}: let
workstations = ["skinnyv" "foureighty" "thinky"];
workstations_plus_phone = ["OnePlus9"] ++ workstations;
in { in {
services.syncthing = { services.syncthing = {
enable = true; enable = true;
@ -36,12 +32,12 @@ in {
"/home/cyryl/vaults" = { "/home/cyryl/vaults" = {
id = "vaults"; id = "vaults";
label = "vaults"; label = "vaults";
devices = workstations_plus_phone ++ ["hagath"]; devices = workstations_plus_phone ++ [ "hagath" ];
}; };
"/home/cyryl/documents" = { "/home/cyryl/Documents" = {
id = "documents"; id = "documents";
label = "documents"; label = "documents";
devices = workstations_plus_phone ++ ["hagath"]; devices = workstations_plus_phone ++ [ "hagath" ];
}; };
"/home/cyryl/camera" = { "/home/cyryl/camera" = {
id = "camera"; id = "camera";
@ -58,25 +54,25 @@ in {
label = "rpg"; label = "rpg";
devices = workstations; devices = workstations;
}; };
"/home/cyryl/music" = { "/home/cyryl/Music" = {
id = "music"; id = "music";
label = "music"; label = "music";
devices = workstations; devices = workstations;
}; };
"/home/cyryl/photos" = { "/home/cyryl/Photos" = {
id = "photos"; id = "photos";
label = "photos"; label = "photos";
devices = workstations ++ ["hagath"]; devices = workstations ++ [ "hagath" ];
}; };
"/home/cyryl/gopro" = { "/home/cyryl/gopro" = {
id = "gopro"; id = "gopro";
label = "gopro"; label = "gopro";
devices = workstations; devices = workstations;
}; };
"/home/cyryl/videos" = { "/home/cyryl/Videos" = {
id = "videos"; id = "videos";
label = "videos"; label = "videos";
devices = workstations ++ ["hagath"]; devices = workstations ++ [ "hagath" ];
}; };
}; };
extraOptions = { extraOptions = {