mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
20 lines
355 B
Nix
20 lines
355 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.mods.flatpak.stremio;
|
|
in
|
|
with lib; {
|
|
options.mods.flatpak.stremio.enable =
|
|
mkEnableOption "enables stremio flatpak";
|
|
|
|
config = mkIf cfg.enable {
|
|
services.flatpak.packages = [
|
|
{
|
|
appId = "com.stremio.Stremio";
|
|
origin = "flathub";
|
|
}
|
|
];
|
|
};
|
|
}
|