Files
garandos/modules/core/flatpak.nix
T
GarandPLG 340ab05be4 Add Open WebUI desktop entry; enable in home
- Move openWebUI.enable from system-modules to home‑modules for desktop
  and laptop hosts
- Remove flatpak entry for OpenWebUI
- Add XDG desktop entry and bind Super‑Ctrl‑O to launch it via dex
- Update Helium appimage to version 0.14.2.1 with new checksum
2026-07-02 17:30:36 +02:00

31 lines
791 B
Nix

{
lib,
config,
...
}: let
mkFlatpakPackage = name: pkgId: {
options.flatpak.packages.${name}.enable = lib.mkEnableOption "Flatpak: ${name}";
config.services.flatpak.packages =
lib.mkIf config.flatpak.packages.${name}.enable [pkgId];
};
flatpakPackages = {
sober = "org.vinegarhq.Sober";
warehouse = "io.github.flattool.Warehouse";
flatseal = "com.github.tchx84.Flatseal";
upscaler = "io.gitlab.theevilskeleton.Upscaler";
arduino = "cc.arduino.IDE2";
};
in {
options.flatpak.enable = lib.mkEnableOption "Flatpak";
config.services.flatpak = lib.mkIf config.flatpak.enable {
enable = true;
update.onActivation = true;
packages = [];
};
imports = builtins.attrValues (builtins.mapAttrs mkFlatpakPackage flatpakPackages);
}