1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ 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; }; }; }