15 lines
293 B
Nix
15 lines
293 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|