Recreated options

This commit is contained in:
Jurn Wubben 2025-08-29 11:05:27 +02:00
parent 0b839e082a
commit fc8178ed80
22 changed files with 325 additions and 205 deletions

View file

@ -1,16 +1,24 @@
{lib, ...}: {
{lib, ...}: let
inherit (lib) mkOption types;
in {
imports = [
# ./matrix.nix
./bot.nix
# ./temp.nix
./jsw-bot.nix
./caddy.nix
./derekBot.nix
./derek-bot.nix
./forgejo.nix
./immich.nix
./index
./mail.nix
./nextcloud.nix
./temp.nix
./zitadel.nix
];
options.niksos.server = lib.mkEnableOption "server servcies (such as caddy)."; #TODO: per service option.
options.niksos.server = {
baseDomain = mkOption {
type = types.lines;
description = "Set's the apex domain for the webservices. Do not include 'https' or a slash at the end. Just 'example.com'.";
example = "example.com";
};
};
}