add flatpak module
This commit is contained in:
parent
ea672180a5
commit
21fb5e547c
2 changed files with 15 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
./media
|
./media
|
||||||
./dunst
|
./dunst
|
||||||
./picom
|
./picom
|
||||||
|
./flatpak
|
||||||
# boot
|
# boot
|
||||||
./plymouth
|
./plymouth
|
||||||
# vpn
|
# vpn
|
||||||
|
|
14
modules/desktop/flatpak/default.nix
Normal file
14
modules/desktop/flatpak/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue