nixos/modules/home/apps/flatpak/default.nix
Florian RICHER de7a2753df
All checks were successful
check / check (push) Successful in 33s
flatpak: Remove not use applications
2024-09-15 13:59:16 +02:00

35 lines
No EOL
808 B
Nix

{ 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
{ appId = "com.spotify.Client"; origin = "flathub"; }
{ appId = "org.videolan.VLC"; origin = "flathub"; }
];
};
};
}