From 28e54c8abf18b63216b6f9fb2ce6aba42d8775ac Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 20 Aug 2024 02:19:22 +0400 Subject: [PATCH] desktop/apps: init stremio --- modules/desktop/apps/default.nix | 1 + modules/desktop/apps/stremio/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/desktop/apps/stremio/default.nix 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 + ]; + }; +}