users/infinidoge: disable prismlauncher sync where unnecessary
This commit is contained in:
parent
e376c1e30d
commit
735e3231ed
1 changed files with 19 additions and 16 deletions
|
@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue