1
0
Fork 0
nix-config/modules/nixos/apps/steam/default.nix
Philipp dc99f3d24d
add spectacle config, add spotify, fix cinny video playback with gstreamer
refactor some stuff to look nicer and have more structure too
2025-04-10 19:19:37 +02:00

30 lines
529 B
Nix

{
options,
config,
lib,
pkgs,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.apps.steam;
in
{
options.${namespace}.apps.steam = with types; {
enable = mkBoolOpt false "Whether or not to enable support for Steam.";
};
config = mkIf cfg.enable {
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true;
hardware.steam-hardware.enable = true;
environment.systemPackages = with pkgs; [
steamtinkerlaunch
steam
];
};
}