Refactor: Avoid use folder for one file
All checks were successful
check / check (push) Successful in 32s
All checks were successful
check / check (push) Successful in 32s
Fix #3
This commit is contained in:
parent
c8d1f9f65a
commit
a425abee8b
34 changed files with 26 additions and 27 deletions
36
modules/home/apps/flatpak.nix
Normal file
36
modules/home/apps/flatpak.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ 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"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue