2024-02-29 14:53:34 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
let
|
|
|
|
cfg = config.host.apps.media;
|
2024-02-29 14:53:34 +00:00
|
|
|
in
|
|
|
|
with lib;
|
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
options = {
|
|
|
|
host.apps.media.enable = mkEnableOption (mdDoc "Enables media playback and editing apps");
|
|
|
|
};
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
host.ui.flatpak.enable = true;
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
services.flatpak = {
|
|
|
|
packages = [
|
|
|
|
"com.calibre_ebook.calibre"
|
|
|
|
"com.github.unrud.VideoDownloader"
|
|
|
|
"io.github.celluloid_player.Celluloid"
|
|
|
|
"org.kde.krita"
|
|
|
|
"org.kde.KStyle.Adwaita//5.15-23.08" # Retrieved from https://docs.flatpak.org/en/latest/desktop-integration.html
|
|
|
|
"org.kde.KStyle.Adwaita//6.6"
|
|
|
|
"org.kde.WaylandDecoration.QAdwaitaDecorations//5.15-23.08" # Replaced deprecated QGnomePlatform https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
|
|
|
|
"org.kde.WaylandDecoration.QAdwaitaDecorations//6.6"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|