about summary refs log tree commit diff stats
path: root/system/services/steam/default.nix
blob: d4c4be6338b1d6f55815b6f90096d720dcaffe0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vim: ts=2
{
  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;
    };
  };
}