nixos/modules/home/apps/flatpak/default.nix

36 lines
877 B
Nix
Raw Permalink Normal View History

2024-05-28 16:05:44 +02:00
{ config, lib, ... }:
with lib;
let
cfg = config.modules.home.apps.flatpak;
in
{
options.modules.home.apps.flatpak = {
enable = mkEnableOption ''
Enable flatpak with my custom configurations
'';
};
config = mkIf cfg.enable {
services.flatpak = {
enable = true;
update.onActivation = true;
packages = [
# Gaming
{ appId = "com.discordapp.Discord"; origin = "flathub"; }
{ appId = "net.lutris.Lutris"; origin = "flathub"; }
# Pro
{ appId = "ch.protonmail.protonmail-bridge"; origin = "flathub"; }
{ appId = "org.kde.neochat"; origin = "flathub"; }
# Loisir
2024-12-20 23:02:07 +01:00
{ appId = "io.github.zen_browser.zen"; origin = "flathub"; }
{ appId = "com.spotify.Client"; origin = "flathub"; }
{ appId = "org.videolan.VLC"; origin = "flathub"; }
];
};
};
}