Merge pull request #112295 from thelegy/snapserver-fix-buffer-options
nixos/snapserver: Fix buffer options not coercible to str
This commit is contained in:
commit
a64370c164
@ -48,8 +48,8 @@ let
|
|||||||
++ [ "--stream.port ${toString cfg.port}" ]
|
++ [ "--stream.port ${toString cfg.port}" ]
|
||||||
++ optionalNull cfg.sampleFormat "--stream.sampleformat ${cfg.sampleFormat}"
|
++ optionalNull cfg.sampleFormat "--stream.sampleformat ${cfg.sampleFormat}"
|
||||||
++ optionalNull cfg.codec "--stream.codec ${cfg.codec}"
|
++ optionalNull cfg.codec "--stream.codec ${cfg.codec}"
|
||||||
++ optionalNull cfg.streamBuffer "--stream.stream_buffer ${cfg.streamBuffer}"
|
++ optionalNull cfg.streamBuffer "--stream.stream_buffer ${toString cfg.streamBuffer}"
|
||||||
++ optionalNull cfg.buffer "--stream.buffer ${cfg.buffer}"
|
++ optionalNull cfg.buffer "--stream.buffer ${toString cfg.buffer}"
|
||||||
++ optional cfg.sendToMuted "--stream.send_to_muted"
|
++ optional cfg.sendToMuted "--stream.send_to_muted"
|
||||||
# tcp json rpc
|
# tcp json rpc
|
||||||
++ [ "--tcp.enabled ${toString cfg.tcp.enable}" ]
|
++ [ "--tcp.enabled ${toString cfg.tcp.enable}" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user