lemmy: pict-rs: remove unused options
This commit is contained in:
parent
0edab7ed64
commit
89b5e8145d
|
@ -69,23 +69,12 @@ in {
|
|||
|
||||
#v DO NOT REMOVE: defaults to 0.3, instead of latest, so always need to explicitly set this.
|
||||
services.pict-rs.package = pict-rs;
|
||||
|
||||
# pict-rs configuration is applied in this order:
|
||||
# - via toml
|
||||
# - via env vars (overrides everything above)
|
||||
# - via CLI flags (overrides everything above)
|
||||
# some of the CLI flags have defaults, making it the only actual way to configure certain things even when docs claim otherwise.
|
||||
systemd.services.pict-rs.environment = {
|
||||
# lemmy's media-hosting service
|
||||
# docs: <https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml>
|
||||
|
||||
# PICTRS__MEDIA__VIDEO__ENABLE = "1"; # enable webm and mp4
|
||||
# PICTRS__MEDIA__VIDEO__ALLOW_AUDIO = "1";
|
||||
# PICTRS__MEDIA__VIDEO__MAX_FRAME_COUNT = builtins.toString (30*60*60); # ~ 1 hr
|
||||
# PICTRS__REPO__CACHE_CAPACITY = builtins.toString (128*1024*1024); # default is 64 MiB, but RAM is cheap here
|
||||
|
||||
# PICTRS__MEDIA__SKIP_VALIDATE_IMPORTS = "1"; # to disable media validation
|
||||
# PICTRS__OLD_DB__PATH = config.services.pict-rs.dataDir; #< needed only for 0.3 -> 0.4 migration
|
||||
};
|
||||
# CLI args: <https://git.asonix.dog/asonix/pict-rs#user-content-running>
|
||||
systemd.services.pict-rs.serviceConfig.ExecStart = lib.mkForce (lib.concatStringsSep " " [
|
||||
"${lib.getBin pict-rs}/bin/pict-rs run"
|
||||
|
|
Loading…
Reference in New Issue
Block a user