575 update

This commit is contained in:
alsaiduq-lab 2025-12-18 22:08:09 -07:00
parent 09b1e0725f
commit 066286944c
7 changed files with 90 additions and 37 deletions

21
hosts/modules/flatpak.nix Normal file
View file

@ -0,0 +1,21 @@
{
config,
pkgs,
lib,
...
}: {
services.flatpak.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
systemd.services.flatpak-repo = {
wantedBy = ["multi-user.target"];
path = [pkgs.flatpak];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}