Install flatpak service

This commit is contained in:
♥ Minnie ♥ 2024-07-26 08:55:55 +08:00
parent fecd7b2571
commit add81a71d5
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 13 additions and 0 deletions

View file

@ -3,5 +3,6 @@
{
imports = [
./amdgpu-clocks.nix
./flatpak.nix
];
}

View 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;
}