mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
22 lines
498 B
Nix
22 lines
498 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.apps.steam.enable {
|
|
hardware.steam-hardware.enable = true;
|
|
programs = {
|
|
gamescope.enable = config.alyraffauf.desktop.steam.enable;
|
|
|
|
steam = {
|
|
enable = true;
|
|
dedicatedServer.openFirewall = true;
|
|
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
remotePlay.openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
}
|