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