add flatpak module

This commit is contained in:
Sakooooo 2024-09-16 08:03:30 +04:00
parent ea672180a5
commit 21fb5e547c
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 15 additions and 0 deletions

View file

@ -23,6 +23,7 @@
./media ./media
./dunst ./dunst
./picom ./picom
./flatpak
# boot # boot
./plymouth ./plymouth
# vpn # vpn

View file

@ -0,0 +1,14 @@
{ inputs, outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.flatpak;
in
{
options.modules.desktop.flatpak = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
# todo declarative thingies
services.flatpak.enable = true;
};
}