about summary refs log tree commit diff stats
path: root/system/services/steam/default.nix
blob: 53a7d2143da4886fc8e1997728ada097f2fe8ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  lib,
  config,
  ...
}: let
  cfg = config.soispha.services.steam;
in {
  options.soispha.services.steam = {
    enable = lib.mkOption {
      default = true;
      description = lib.mdDoc "Enable Steam";
    };
  };
  config = lib.mkIf cfg.enable {
    programs.steam = {
      enable = true;
    };
  };
}