feat: refactor, update settings for sunshine (#215)

This commit is contained in:
Ryan Yin
2025-08-20 22:12:43 +08:00
committed by GitHub
parent bccd5475df
commit 5c236517bc
11 changed files with 64 additions and 56 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
{
# ===============================================================================================
# for Nvidia GPU
@@ -38,4 +38,11 @@
# };
})
];
services.sunshine.settings = {
max_bitrate = 20000; # in Kbps
# NVIDIA NVENC Encoder
nvenc_preset = 3; # 1(fastest + worst quality) - 7(slowest + best quality)
nvenc_twopass = "full_res"; # quarter_res / full_res.
};
}