about summary refs log tree commit diff stats
path: root/sys/svcs/steam/default.nix
blob: 5409149365eef75be0285c02012d75b1fa5a8cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  lib,
  config,
  pkgs,
  ...
}: let
  cfg = config.soispha.services.steam;
in {
  options.soispha.services.steam = {
    enable = lib.mkOption {
      default = false;
      description = lib.mdDoc "Steam";
    };
  };
  config = lib.mkIf cfg.enable {
    programs.steam = {
      enable = true;
    };
    environment.systemPackages = [
      pkgs.wineWowPackages.waylandFull
    ];
  };
}