Nyx-Modules/Modules/System/Application/Gaming/Steam/steam.nix
2025-08-29 12:29:00 +02:00

20 lines
426 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.nyx-module.system.steam;
in
{
options.nyx-module.system.steam = {
enable = lib.mkEnableOption "Enable steam (system) module";
package = lib.mkOption {
type = lib.types.package;
default = pkgs.steam;
description = "Package to install for steam.";
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
};
}