uncomment all the shit after installing syncthing on all machines

This commit is contained in:
jacekpoz 2024-04-04 12:49:59 +02:00
parent c0801f0a0b
commit cbe2923503
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -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 = ''