aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gaming/steam/default.nix
blob: 5662656f25ee54670445be0644f091e0e8791927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Game store
{
  config,
  pkgs,
  lib,
  ...
}:
{
  options.gaming.steam = {
    enable = lib.mkEnableOption "Enables steam.";
    package = lib.mkOption {
      type = lib.types.package;
      default = pkgs.steam;
      description = "Package for steam app.";
    };
  };

  config = lib.mkIf config.gaming.steam.enable {
    home.packages = [ config.gaming.steam.package ];
  };
}