Add basic conf for sunshine game streaming on NixOS
This commit is contained in:
parent
5e70208aef
commit
78d7227471
7 changed files with 75 additions and 1 deletions
16
hardware-specific/nvidia.nix
Normal file
16
hardware-specific/nvidia.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware = {
|
||||
graphics.enable = true;
|
||||
nvidia = {
|
||||
open = true;
|
||||
forceFullCompositionPipeline = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
xserver = pkgs.lib.mkIf config.services.xserver.enable {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue