- Update opencode to v1.1.34 - Add new opencode agents (Prometheus, Metis, Momus, Atlas) and categories - Switch m3ta-nixpkgs back to local path - Add basecamp client credentials for m3-ares and m3-kratos - Set NIXOS_OZONE_WL=1 for better Wayland app support in Hyprland - Remove redundant wrl.enable from flatpak portal config
24 lines
457 B
Nix
24 lines
457 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.extraServices.flatpak;
|
|
in {
|
|
options.extraServices.flatpak.enable = mkEnableOption "enable flatpak";
|
|
|
|
config = mkIf cfg.enable {
|
|
services.flatpak.enable = true;
|
|
xdg.portal = {
|
|
# xdg desktop intergration (required for flatpak)
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-hyprland
|
|
];
|
|
config.common.default = "*";
|
|
};
|
|
};
|
|
}
|