dotfiles/modules/gaming/steam.nix
2022-10-29 14:42:37 -04:00

20 lines
401 B
Nix

{ config, pkgs, lib, ... }: {
options.gaming.steam = lib.mkEnableOption "Steam";
config = lib.mkIf config.gaming.steam {
hardware.steam-hardware.enable = true;
unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ];
environment.systemPackages = with pkgs; [
steam
# Enable terminal interaction
steamPackages.steamcmd
steam-tui
];
};
}