dotfiles/modules/gaming/steam.nix
2022-05-28 10:34:00 -04:00

20 lines
366 B
Nix

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