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

29 lines
461 B
Nix

{
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 = {
openssh = enabled;
};
};
};
}