2024-08-10 14:37:14 +03:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options.nowhere = {
|
2024-08-13 22:24:13 +03:00
|
|
|
enable = lib.mkEnableOption "Nowhere";
|
2024-08-10 14:37:14 +03:00
|
|
|
names = lib.mkOption {
|
|
|
|
description = "Hostnames that point Nowhere.";
|
|
|
|
type = with lib.types; attrsOf str;
|
|
|
|
default = {};
|
|
|
|
};
|
|
|
|
certs = lib.mkOption {
|
|
|
|
description = "Snakeoil certificate packages.";
|
|
|
|
type = with lib.types; attrsOf package;
|
|
|
|
default = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|