main
1{inputs, ...}: {
2 flake-file.inputs.flatpaks.url = "github:in-a-dil-emma/declarative-flatpak/latest";
3
4 flake.modules.nixos.desktop = _: {
5 services.flatpak.enable = true;
6 };
7
8 flake.modules.homeManager.desktop = _: {
9 imports = [inputs.flatpaks.homeModules.default];
10
11 services.flatpak = {
12 remotes = {
13 flathub = "https://flathub.org/repo/flathub.flatpakrepo";
14 };
15 packages = [
16 "flathub:app/com.qq.QQ//stable"
17 "flathub:app/com.tencent.WeChat//stable"
18 "flathub:app/com.tencent.wemeet//stable"
19 ];
20 };
21 };
22}