15 lines
349 B
Nix
15 lines
349 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.software.distractions.steam;
|
|
in {
|
|
options.modules.software.distractions.steam = {
|
|
enable = mkEnableOption "Enable Steam, the game distribution software";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.steam.enable = true;
|
|
programs.steam.protontricks.enable = true;
|
|
};
|
|
}
|