mirror of
https://codeberg.org/muon/home.git
synced 2026-03-09 03:53:11 +00:00
Add flatpak
This commit is contained in:
parent
ce74d1b0eb
commit
5770fcf23d
6 changed files with 69 additions and 0 deletions
20
modules/nixos/flatpak/stremio.nix
Normal file
20
modules/nixos/flatpak/stremio.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue