nix-configurations/home/features/gaming/sunshine.nix

17 lines
246 B
Nix

{ 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 ];
};
}