nix-config/home/features/desktop/common/flatpak.nix

30 lines
578 B
Nix
Raw Normal View History

2024-01-26 18:04:50 +01:00
{
inputs,
pkgs,
vars,
...
}: {
imports = [inputs.flatpaks.homeManagerModules.default];
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [
"flathub:app/us.zoom.Zoom//stable"
"flathub:app/com.discordapp.Discord//stable"
];
overrides = {
"global" = {
filesystems = [
"~/.local/share/icons"
];
environment = {
"MOZ_ENABLE_WAYLAND" = 1;
};
sockets = [
"!x11"
"fallback-x11"
];
};
};
2024-01-26 18:04:50 +01:00
};
}