From a53544ced36fd347df6647ce0c2962e37571ba5f Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 17 Feb 2025 20:41:06 -0800 Subject: [PATCH] feat(nixos): Server bundle --- modules/nixos/bundles/server/default.nix | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/nixos/bundles/server/default.nix diff --git a/modules/nixos/bundles/server/default.nix b/modules/nixos/bundles/server/default.nix new file mode 100644 index 0000000..f634c86 --- /dev/null +++ b/modules/nixos/bundles/server/default.nix @@ -0,0 +1,29 @@ +{ + 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; + }; + }; + }; +}