nixos-conf/services/sunshine.nix

16 lines
268 B
Nix
Raw Normal View History

{ config, ... }:
{
2024-06-06 22:16:29 +03:00
assertions = [
{
assertion = config.services.xserver.enable;
message = "Game streaming does not work without a desktop!";
}
];
services.sunshine = {
enable = true;
autoStart = true;
openFirewall = true;
};
}