users/infinidoge: disable prismlauncher sync where unnecessary

This commit is contained in:
Infinidoge 2025-05-07 00:02:21 -04:00
parent e376c1e30d
commit 735e3231ed
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -40,22 +40,25 @@ in
services.unison = { services.unison = {
enable = true; enable = true;
pairs = { pairs = {
"PrismLauncher" = mkIf (main.networking.hostName != "Infini-DL360") { "PrismLauncher" =
roots = [ mkIf
"/home/infinidoge/.local/share/PrismLauncher" (main.networking.hostName != "Infini-DL360" && main.modules.desktop.gaming.prismlauncher.enable)
"ssh://inx.moe/sync/PrismLauncher" {
]; roots = [
commandOptions = { "/home/infinidoge/.local/share/PrismLauncher"
ignore = [ "ssh://inx.moe/sync/PrismLauncher"
"BelowPath cache" ];
"BelowPath logs" commandOptions = {
"BelowPath **/logs" ignore = [
"Path **/*.log" "BelowPath cache"
"BelowPath meta" "BelowPath logs"
"Path metacache" "BelowPath **/logs"
]; "Path **/*.log"
}; "BelowPath meta"
}; "Path metacache"
];
};
};
}; };
}; };