mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -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;
|
|
};
|
|
};
|
|
};
|
|
}
|