add rimworld to syncthing

This commit is contained in:
jacekpoz 2024-06-04 01:57:02 +02:00
parent c5e88a97e8
commit 36e693c393
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -6,7 +6,7 @@
cfg = config.myOptions.services.syncthing;
inherit (config.myOptions.other.system) username;
hmCfg = config.home-manager.users.${username};
configDir = config.home-manager.users.${username}.xdg.configHome;
inherit (lib) mkEnableOption mkIf mkOption;
inherit (lib.types) attrs;
@ -141,6 +141,17 @@ in {
};
};
};
RimWorld = {
path = "${configDir}/unity3d/Ludeon Studios/RimWorld by Ludeon Studios";
devices = [ "niks" "del" "chmura" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15552000";
};
};
};
};
} // cfg.extraSettings;
};