From c24aac623e0777053361618cee364a486d615f17 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 18 Sep 2024 08:41:22 -0500 Subject: [PATCH] flatpak: add optionals and retrodeck Signed-off-by: Myned --- options/custom/services/flatpak.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/options/custom/services/flatpak.nix b/options/custom/services/flatpak.nix index b1019f0..54f6158 100644 --- a/options/custom/services/flatpak.nix +++ b/options/custom/services/flatpak.nix @@ -20,10 +20,16 @@ in { #!! Installation occurs in background as a oneshot service #?? flatpak search NAME - packages = [ - "app.drey.Biblioteca" - "com.github.tchx84.Flatseal" - ]; + packages = + optionals config.custom.default [ + "com.github.tchx84.Flatseal" + ] + ++ optionals config.custom.minimal [ + "net.retrodeck.retrodeck" + ] + ++ optionals config.custom.full [ + "app.drey.Biblioteca" + ]; }; # Theme packages must be installed system-wide for flatpaks