diff --git a/home/packages/gui/default.nix b/home/packages/gui/default.nix index e0d4165..83ea62f 100644 --- a/home/packages/gui/default.nix +++ b/home/packages/gui/default.nix @@ -1,5 +1,6 @@ _: { imports = [ ./wayland.nix + ./stremio.nix ]; } diff --git a/home/packages/gui/stremio.nix b/home/packages/gui/stremio.nix new file mode 100644 index 0000000..1ad2144 --- /dev/null +++ b/home/packages/gui/stremio.nix @@ -0,0 +1,17 @@ +{ + lib, + pkgs, + osConfig, + ... +}: let + inherit (lib) mkIf; + + cfg = osConfig.myOptions.home-manager.programs.stremio; +in { + config = mkIf cfg.enable { + home.packages = with pkgs; [ + stremio + ]; + }; +} + diff --git a/hosts/voyager/default.nix b/hosts/voyager/default.nix index a1ce215..8e98428 100644 --- a/hosts/voyager/default.nix +++ b/hosts/voyager/default.nix @@ -136,6 +136,7 @@ mullvad-browser.enable = true; }; spotify.enable = true; + stremio.enable = true; }; }; }; diff --git a/options/home/programs/default.nix b/options/home/programs/default.nix index ebb153c..594e834 100644 --- a/options/home/programs/default.nix +++ b/options/home/programs/default.nix @@ -27,5 +27,6 @@ in }; spotify.enable = mkEnableOption "Spotify"; + stremio.enable = mkEnableOption "Stremio free media center"; }; }