nixos/modules/home/apps/flatpak/default.nix
Florian RICHER 8e9f475e89
All checks were successful
check / check (push) Successful in 31s
Migrate to zen browser
2024-12-20 23:02:07 +01:00

36 lines
No EOL
877 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 = "io.github.zen_browser.zen"; origin = "flathub"; }
{ appId = "com.spotify.Client"; origin = "flathub"; }
{ appId = "org.videolan.VLC"; origin = "flathub"; }
];
};
};
}