Install flatpak service
This commit is contained in:
parent
fecd7b2571
commit
add81a71d5
|
@ -3,5 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./amdgpu-clocks.nix
|
./amdgpu-clocks.nix
|
||||||
|
./flatpak.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
12
nixos/fuchsia/services/flatpak.nix
Normal file
12
nixos/fuchsia/services/flatpak.nix
Normal file
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in a new issue