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}";
|
||||
overrideDevices = false;
|
||||
overrideFolders = false;
|
||||
# settings = {
|
||||
# devices = {
|
||||
# niks.id = "ZXGYWRF-THUTZFB-UUSUNFJ-6O4SP5X-WZH5DOJ-YC25NHH-EC55CIH-V7ZKFQG";
|
||||
# # del.id = "";
|
||||
# # chmura.id = "";
|
||||
# };
|
||||
# folders = {
|
||||
# Projects = {
|
||||
# path = "${homeDirectory}/Projects";
|
||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15552000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# Studia = {
|
||||
# path = "${homeDirectory}/Studia";
|
||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15552000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# KeepassXC = {
|
||||
# path = "${homeDirectory}/KeepassXC";
|
||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15552000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# Notes = {
|
||||
# path = "${homeDirectory}/Notes";
|
||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15552000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# mieszkanie = {
|
||||
# path = "${homeDirectory}/mieszkanie";
|
||||
# devices = [ "niks" /*"del" "chmura"*/ ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15552000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# } // cfg.extraSettings;
|
||||
settings = {
|
||||
devices = {
|
||||
niks.id = "ZXGYWRF-THUTZFB-UUSUNFJ-6O4SP5X-WZH5DOJ-YC25NHH-EC55CIH-V7ZKFQG";
|
||||
del.id = "";
|
||||
chmura.id = "TJCCHXS-HA5ZXUI-NKXWICR-4ADPHCA-TVRNDBN-54E622Z-TUAAVOM-YIJHWAI";
|
||||
};
|
||||
folders = {
|
||||
Projects = {
|
||||
path = "${homeDirectory}/Projects";
|
||||
devices = [ "niks" "del" "chmura" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15552000";
|
||||
};
|
||||
};
|
||||
};
|
||||
Studia = {
|
||||
path = "${homeDirectory}/Studia";
|
||||
devices = [ "niks" "del" "chmura" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15552000";
|
||||
};
|
||||
};
|
||||
};
|
||||
KeepassXC = {
|
||||
path = "${homeDirectory}/KeepassXC";
|
||||
devices = [ "niks" "del" "chmura" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15552000";
|
||||
};
|
||||
};
|
||||
};
|
||||
Notes = {
|
||||
path = "${homeDirectory}/Notes";
|
||||
devices = [ "niks" "del" "chmura" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15552000";
|
||||
};
|
||||
};
|
||||
};
|
||||
mieszkanie = {
|
||||
path = "${homeDirectory}/mieszkanie";
|
||||
devices = [ "niks" "del" "chmura" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15552000";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} // cfg.extraSettings;
|
||||
};
|
||||
services.caddy = mkIf (username == "chmura") {
|
||||
virtualHosts."sync.jacekpoz.pl".extraConfig = ''
|
||||
|
|
Loading…
Reference in a new issue