feat: add support for flatpak in NixOS configuration
Added the necessary configurations and dependencies to enable Flatpak in the Fuchsia module. This includes enabling the xdg portal for default settings and adding the flatpak service.
This commit is contained in:
parent
55dcdcf616
commit
fe95e44a07
|
@ -10,6 +10,7 @@
|
||||||
"/var/log"
|
"/var/log"
|
||||||
"/var/lib/bluetooth"
|
"/var/lib/bluetooth"
|
||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
|
"/var/lib/flatpak"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
./services/amdgpu-clocks
|
./services/amdgpu-clocks
|
||||||
|
./services/flatpak
|
||||||
./services/libinput
|
./services/libinput
|
||||||
./services/ollama
|
./services/ollama
|
||||||
./services/printers
|
./services/printers
|
||||||
|
|
10
nixos/fuchsia/services/flatpak/default.nix
Normal file
10
nixos/fuchsia/services/flatpak/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{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