2025-01-31 16:47:33 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) mkOption;
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
procolixVm = {
|
|
|
|
name = mkOption { };
|
2025-01-31 17:15:12 +01:00
|
|
|
domain = mkOption { default = "procolix.com"; };
|
|
|
|
|
|
|
|
ipv4 = {
|
|
|
|
address = mkOption { };
|
|
|
|
prefixLength = mkOption {
|
|
|
|
default = 24;
|
|
|
|
};
|
|
|
|
gateway = mkOption { default = "185.206.232.1"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
ipv6 = {
|
|
|
|
address = mkOption { };
|
|
|
|
prefixLength = mkOption { default = 64; };
|
|
|
|
gateway = mkOption { default = "2a00:51c0:12:1201::1"; };
|
|
|
|
};
|
2025-01-31 16:47:33 +01:00
|
|
|
|
|
|
|
hostPublicKey = mkOption {
|
|
|
|
description = ''
|
|
|
|
The host public key of the machine. It is used in particular
|
|
|
|
to filter Age secrets and only keep the relevant ones.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|