diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index d5a32256..947ff92d 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -14,5 +14,6 @@ ./nextcloud ./rssguard ./localsend + ./stremio ]; } diff --git a/modules/desktop/apps/stremio/default.nix b/modules/desktop/apps/stremio/default.nix new file mode 100644 index 00000000..ba8dda75 --- /dev/null +++ b/modules/desktop/apps/stremio/default.nix @@ -0,0 +1,15 @@ +{ outputs, options, config, lib, pkgs, ...}: +let + cfg = config.modules.desktop.apps.stremio; +in +{ + options.modules.desktop.apps.stremio = { + enable = lib.mkEnableOption false; + }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + stremio + ]; + }; +}