18 lines
311 B
Nix
18 lines
311 B
Nix
{ lib, config, pkgs, ... }:
|
|
let
|
|
cfg = config.steam;
|
|
in
|
|
{
|
|
options.steam = {
|
|
enable = lib.mkEnableOption "Enable Steam and apply customization module";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.steam.enable = true;
|
|
|
|
# Necessary for Steam
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
}
|