Reviewed-on: https://gitea.mrdev023.fr/florian.richer/nixos/pulls/1 Co-authored-by: Florian RICHER <florian.richer@protonmail.com> Co-committed-by: Florian RICHER <florian.richer@protonmail.com>
This commit is contained in:
parent
e9329e63dc
commit
b7f82f87e8
84 changed files with 1100 additions and 1247 deletions
45
modules/home/apps/flatpak/default.nix
Normal file
45
modules/home/apps/flatpak/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ config, pkgs, lib, nix-flatpak, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.home.apps.flatpak;
|
||||
in
|
||||
{
|
||||
imports = [ nix-flatpak.homeManagerModules.nix-flatpak ];
|
||||
|
||||
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 = "com.valvesoftware.Steam"; origin = "flathub"; }
|
||||
{ appId = "net.lutris.Lutris"; origin = "flathub"; }
|
||||
|
||||
# Pro
|
||||
{ appId = "com.slack.Slack"; origin = "flathub"; }
|
||||
{ appId = "com.skype.Client"; origin = "flathub"; }
|
||||
{ appId = "org.mozilla.Thunderbird"; origin = "flathub"; }
|
||||
{ appId = "ch.protonmail.protonmail-bridge"; origin = "flathub"; }
|
||||
{ appId = "org.kde.neochat"; origin = "flathub"; }
|
||||
|
||||
# Loisir
|
||||
{ appId = "com.spotify.Client"; origin = "flathub"; }
|
||||
{ appId = "io.gitlab.news_flash.NewsFlash"; origin = "flathub"; }
|
||||
{ appId = "org.videolan.VLC"; origin = "flathub"; }
|
||||
{ appId = "com.obsproject.Studio"; origin = "flathub"; }
|
||||
{ appId = "io.github.achetagames.epic_asset_manager"; origin = "flathub"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue