add more devices and folders
This commit is contained in:
parent
7d5f348163
commit
a8207c620d
1 changed files with 50 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
{ config, pkgs, inputs, ... }: {
|
{ config, pkgs, inputs, ... }:
|
||||||
|
let
|
||||||
|
workstations = [ "skinnyv" "foureighty" ];
|
||||||
|
workstations_plus_phone = [ "OnePlus9" ] ++ workstations;
|
||||||
|
in {
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "cyryl";
|
user = "cyryl";
|
||||||
|
@ -11,22 +15,64 @@
|
||||||
"OnePlus9" = {
|
"OnePlus9" = {
|
||||||
id = "2UVDAHX-IWQEBLF-6VOYLWO-MYQBMO2-62QPM76-CFYPPZW-CWVIBZF-JEUS4QZ";
|
id = "2UVDAHX-IWQEBLF-6VOYLWO-MYQBMO2-62QPM76-CFYPPZW-CWVIBZF-JEUS4QZ";
|
||||||
};
|
};
|
||||||
|
"skinnyv" = {
|
||||||
|
id = "J5CLXYI-33U4HHI-QP25PBC-DS3WABE-XVAHXDR-Q26JMVU-RHG7DCP-KG77TQX";
|
||||||
|
};
|
||||||
|
"foureighty" = {
|
||||||
|
id = "Q4AA3LA-QIMMBNK-QWKW2AL-5SRGBU3-RYWD5EH-GKMVXRT-XVYFU3R-UYAAMAH";
|
||||||
|
};
|
||||||
|
"hagath" = {
|
||||||
|
id = "SXQA3TX-3G5T4CQ-3SX42KJ-UEBZWF7-RL66ORF-DVV6ROT-PYTE6QV-EARKMQU";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
"/home/cyryl/vaults" = {
|
"/home/cyryl/vaults" = {
|
||||||
id = "vaults";
|
id = "vaults";
|
||||||
label = "vaults";
|
label = "vaults";
|
||||||
devices = [ "OnePlus9" ];
|
devices = workstations_plus_phone ++ [ "hagath" ];
|
||||||
};
|
};
|
||||||
"/home/cyryl/documents" = {
|
"/home/cyryl/documents" = {
|
||||||
id = "documents";
|
id = "documents";
|
||||||
label = "documents";
|
label = "documents";
|
||||||
devices = [ "OnePlus9" ];
|
devices = workstations_plus_phone ++ [ "hagath" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
"/home/cyryl/camera" = {
|
"/home/cyryl/camera" = {
|
||||||
id = "camera";
|
id = "camera";
|
||||||
label = "camera";
|
label = "camera";
|
||||||
devices = [ "OnePlus9" ];
|
devices = workstations_plus_phone;
|
||||||
|
};
|
||||||
|
"/home/cyryl/ISOs" = {
|
||||||
|
id = "isos";
|
||||||
|
label = "ISOs";
|
||||||
|
devices = workstations;
|
||||||
|
};
|
||||||
|
"/home/cyryl/rpg" = {
|
||||||
|
id = "rpg";
|
||||||
|
label = "rpg";
|
||||||
|
devices = workstations;
|
||||||
|
};
|
||||||
|
"/home/cyryl/music" = {
|
||||||
|
id = "music";
|
||||||
|
label = "music";
|
||||||
|
devices = workstations;
|
||||||
|
};
|
||||||
|
"/home/cyryl/photos" = {
|
||||||
|
id = "photos";
|
||||||
|
label = "photos";
|
||||||
|
devices = workstations ++ [ "hagath" ];
|
||||||
|
|
||||||
|
};
|
||||||
|
"/home/cyryl/gopro" = {
|
||||||
|
id = "gopro";
|
||||||
|
label = "gopro";
|
||||||
|
devices = workstations;
|
||||||
|
};
|
||||||
|
"/home/cyryl/videos" = {
|
||||||
|
id = "videos";
|
||||||
|
label = "videos";
|
||||||
|
devices = workstations ++ [ "hagath" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
|
|
Loading…
Reference in a new issue