forked from poz/niksos
uncomment all the shit after installing syncthing on all machines
This commit is contained in:
parent
c0801f0a0b
commit
cbe2923503
1 changed files with 64 additions and 64 deletions
|
@ -31,70 +31,70 @@ in {
|
||||||
guiAddress = "0.0.0.0:${toString port}";
|
guiAddress = "0.0.0.0:${toString port}";
|
||||||
overrideDevices = false;
|
overrideDevices = false;
|
||||||
overrideFolders = false;
|
overrideFolders = false;
|
||||||
# settings = {
|
settings = {
|
||||||
# devices = {
|
devices = {
|
||||||
# niks.id = "ZXGYWRF-THUTZFB-UUSUNFJ-6O4SP5X-WZH5DOJ-YC25NHH-EC55CIH-V7ZKFQG";
|
niks.id = "ZXGYWRF-THUTZFB-UUSUNFJ-6O4SP5X-WZH5DOJ-YC25NHH-EC55CIH-V7ZKFQG";
|
||||||
# # del.id = "";
|
del.id = "";
|
||||||
# # chmura.id = "";
|
chmura.id = "TJCCHXS-HA5ZXUI-NKXWICR-4ADPHCA-TVRNDBN-54E622Z-TUAAVOM-YIJHWAI";
|
||||||
# };
|
};
|
||||||
# folders = {
|
folders = {
|
||||||
# Projects = {
|
Projects = {
|
||||||
# path = "${homeDirectory}/Projects";
|
path = "${homeDirectory}/Projects";
|
||||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
devices = [ "niks" "del" "chmura" ];
|
||||||
# versioning = {
|
versioning = {
|
||||||
# type = "staggered";
|
type = "staggered";
|
||||||
# params = {
|
params = {
|
||||||
# cleanInterval = "3600";
|
cleanInterval = "3600";
|
||||||
# maxAge = "15552000";
|
maxAge = "15552000";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# Studia = {
|
Studia = {
|
||||||
# path = "${homeDirectory}/Studia";
|
path = "${homeDirectory}/Studia";
|
||||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
devices = [ "niks" "del" "chmura" ];
|
||||||
# versioning = {
|
versioning = {
|
||||||
# type = "staggered";
|
type = "staggered";
|
||||||
# params = {
|
params = {
|
||||||
# cleanInterval = "3600";
|
cleanInterval = "3600";
|
||||||
# maxAge = "15552000";
|
maxAge = "15552000";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# KeepassXC = {
|
KeepassXC = {
|
||||||
# path = "${homeDirectory}/KeepassXC";
|
path = "${homeDirectory}/KeepassXC";
|
||||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
devices = [ "niks" "del" "chmura" ];
|
||||||
# versioning = {
|
versioning = {
|
||||||
# type = "staggered";
|
type = "staggered";
|
||||||
# params = {
|
params = {
|
||||||
# cleanInterval = "3600";
|
cleanInterval = "3600";
|
||||||
# maxAge = "15552000";
|
maxAge = "15552000";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# Notes = {
|
Notes = {
|
||||||
# path = "${homeDirectory}/Notes";
|
path = "${homeDirectory}/Notes";
|
||||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
devices = [ "niks" "del" "chmura" ];
|
||||||
# versioning = {
|
versioning = {
|
||||||
# type = "staggered";
|
type = "staggered";
|
||||||
# params = {
|
params = {
|
||||||
# cleanInterval = "3600";
|
cleanInterval = "3600";
|
||||||
# maxAge = "15552000";
|
maxAge = "15552000";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# mieszkanie = {
|
mieszkanie = {
|
||||||
# path = "${homeDirectory}/mieszkanie";
|
path = "${homeDirectory}/mieszkanie";
|
||||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
devices = [ "niks" "del" "chmura" ];
|
||||||
# versioning = {
|
versioning = {
|
||||||
# type = "staggered";
|
type = "staggered";
|
||||||
# params = {
|
params = {
|
||||||
# cleanInterval = "3600";
|
cleanInterval = "3600";
|
||||||
# maxAge = "15552000";
|
maxAge = "15552000";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# } // cfg.extraSettings;
|
} // cfg.extraSettings;
|
||||||
};
|
};
|
||||||
services.caddy = mkIf (username == "chmura") {
|
services.caddy = mkIf (username == "chmura") {
|
||||||
virtualHosts."sync.jacekpoz.pl".extraConfig = ''
|
virtualHosts."sync.jacekpoz.pl".extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue