feat(nixos): Server bundle
This commit is contained in:
parent
8b184727e2
commit
a53544ced3
1 changed files with 29 additions and 0 deletions
29
modules/nixos/bundles/server/default.nix
Normal file
29
modules/nixos/bundles/server/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue