mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 10:29:18 -05:00
25 lines
576 B
Nix
25 lines
576 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;
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
remotePlay.openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
}
|