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

17 lines
252 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
2023-02-05 13:36:38 +00:00
let cfg = config.features.gaming.sunshine;
in {
2023-02-01 11:38:23 +00:00
options.features.gaming.sunshine.enable = mkEnableOption "enable Sunshine";
config = mkIf cfg.enable {
home.packages = with pkgs; [ sunshine ];
};
}