2024-12-23 19:22:28 +01:00
|
|
|
{lib, ...}:
|
|
|
|
with lib; {
|
|
|
|
# Declare what settings a user of this "hello.nix" module CAN SET.
|
|
|
|
options.services.vpn-ip = {
|
2025-01-09 16:03:37 +01:00
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = true;
|
|
|
|
};
|
2024-12-23 19:22:28 +01:00
|
|
|
ip = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
default = "0";
|
|
|
|
};
|
|
|
|
publicKey = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
default = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|