Testing syntching
(if works, refactoring needed)
This commit is contained in:
parent
d0c42a5b7f
commit
4a657d52f5
3 changed files with 65 additions and 1 deletions
|
@ -165,10 +165,40 @@
|
||||||
guiAddress = "0.0.0.0:8384";
|
guiAddress = "0.0.0.0:8384";
|
||||||
dataDir = "/mnt/archivio/syncthing";
|
dataDir = "/mnt/archivio/syncthing";
|
||||||
user = "ccr";
|
user = "ccr";
|
||||||
|
devices = {
|
||||||
|
oneplus5t = {
|
||||||
|
id = "IUETIK2-LBTIIKO-GTZXVMA-LEDFK5I-F2M7JKX-76OUDJL-QRJ62J4-5DYYIAI";
|
||||||
|
};
|
||||||
|
pc = {
|
||||||
|
id = "VI4CPQE-PTRRBQQ-LQVG3SE-7BVHQC2-TT4TIP7-L3OBXQR-AWLZVCO-GVPQUQG";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
"/mnt/archivio/syncthing/camera" = {
|
||||||
|
id = "camera";
|
||||||
|
devices = [ "oneplus5t" ];
|
||||||
|
};
|
||||||
|
"/mnt/archivio/syncthing/orgzly" = {
|
||||||
|
id = "orgzly";
|
||||||
|
devices = [ "oneplus5t" "pc" ];
|
||||||
|
};
|
||||||
|
"/mnt/archivio/syncthing/roam" = {
|
||||||
|
id = "roam";
|
||||||
|
devices = [ "oneplus5t" "pc" ];
|
||||||
|
};
|
||||||
|
"/mnt/archivio/syncthing/whatsapp" = {
|
||||||
|
id = "whatsapp";
|
||||||
|
devices = [ "oneplus5t" ];
|
||||||
|
};
|
||||||
|
"/mnt/archivio/syncthing/calls" = {
|
||||||
|
id = "calls";
|
||||||
|
devices = [ "oneplus5t" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
navidrome = {
|
navidrome = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
Address = "0.0.0.0";
|
Address = "0.0.0.0";
|
||||||
Port = 9093;
|
Port = 9093;
|
||||||
|
|
|
@ -56,5 +56,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
guiAddress = "127.0.0.1:8384";
|
||||||
|
dataDir = "/home/ccr/syncthing";
|
||||||
|
user = "ccr";
|
||||||
|
folders = {
|
||||||
|
"orgzly" = {
|
||||||
|
id = "orgzly";
|
||||||
|
path = "/home/ccr/orgzly";
|
||||||
|
};
|
||||||
|
"roam" = {
|
||||||
|
id = "roam";
|
||||||
|
path = "/home/ccr/roam";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,5 +51,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
guiAddress = "127.0.0.1:8384";
|
||||||
|
dataDir = "/home/ccr/syncthing";
|
||||||
|
user = "ccr";
|
||||||
|
folders = {
|
||||||
|
"orgzly" = {
|
||||||
|
id = "orgzly";
|
||||||
|
path = "/home/ccr/orgzly";
|
||||||
|
};
|
||||||
|
"roam" = {
|
||||||
|
id = "roam";
|
||||||
|
path = "/home/ccr/roam";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue