marleyos/modules/nixos/bundles/desktop/default.nix

35 lines
572 B
Nix

{
lib,
config,
...
}: let
cfg = config.marleyos.bundles.desktop;
inherit (lib.marleyos) enabled;
in {
options.marleyos.bundles.desktop.enable = lib.mkEnableOption "desktop";
config = lib.mkIf cfg.enable {
marleyos = {
mounts = {
automounts = enabled;
babeshare = enabled;
};
appearance = {
base = enabled;
console = enabled;
};
programs = {
cli = enabled;
tui = enabled;
gui = enabled;
};
services = {
docker = enabled;
};
};
};
}