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

31 lines
487 B
Nix
Raw Normal View History

2025-02-18 04:41:06 +00:00
{
lib,
config,
...
}: let
cfg = config.marleyos.bundles.server;
inherit (lib.marleyos) enabled;
in {
options.marleyos.bundles.server.enable = lib.mkEnableOption "server";
config = lib.mkIf cfg.enable {
marleyos = {
appearance = {
base = enabled;
console = enabled;
};
programs = {
cli = enabled;
tui = enabled;
};
services = {
2025-02-18 20:36:28 +00:00
docker = enabled;
2025-02-18 04:41:06 +00:00
openssh = enabled;
};
};
};
}