diff --git a/nixos/fuchsia/services/default.nix b/nixos/fuchsia/services/default.nix index 19481a1..3a52f17 100644 --- a/nixos/fuchsia/services/default.nix +++ b/nixos/fuchsia/services/default.nix @@ -3,5 +3,6 @@ { imports = [ ./amdgpu-clocks.nix + ./flatpak.nix ]; } diff --git a/nixos/fuchsia/services/flatpak.nix b/nixos/fuchsia/services/flatpak.nix new file mode 100644 index 0000000..974f133 --- /dev/null +++ b/nixos/fuchsia/services/flatpak.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + # Required to install flatpak + xdg.portal = { + enable = true; + config.common.default = [ "gtk" ]; + extraPortals = [ pkgs.xdg-desktop-portal-wlr ]; + }; + + services.flatpak.enable = true; +}