dotfiles/modules/gaming/steam.nix
2022-05-22 19:43:46 -04:00

12 lines
272 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 ];
};
}