nix-conf/system/modules/sunshine.nix
2026-01-10 12:46:40 +08:00

12 lines
214 B
Nix
Executable file

{ config, ... }:
{
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
settings = {
sunshine_name = config.networking.hostName;
};
};
}