2023-01-09 15:03:01 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let cfg = config.features.gaming.steam;
|
|
|
|
|
|
|
|
in {
|
|
|
|
|
|
|
|
options.features.gaming.sunshine.enable = mkEnableOption "enable Steam";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
|
|
|
home.packages = with pkgs; [ sunshine ];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|