about summary refs log tree commit diff stats
path: root/system/services/steam/default.nix
blob: d5eede9e88d58c4a8bf641f0029f9d35353a5d28 (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 = false;
      description = lib.mdDoc "Enable Steam";
    };
  };
  config = lib.mkIf cfg.enable {
    programs.steam = {
      enable = true;
    };
  };
}