diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-03 16:45:26 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-03 16:45:26 -0600 |
| commit | c29a14135736c2516bb5d951e6e97dc8143598db (patch) | |
| tree | 925628abfe934e3ea2cfd4a70357f8f9b5acb474 /modules/wireguard/options.nix | |
| parent | ce2cc260710f801c10302847796b931f7ed19709 (diff) | |
changes
Diffstat (limited to 'modules/wireguard/options.nix')
| -rw-r--r-- | modules/wireguard/options.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/wireguard/options.nix b/modules/wireguard/options.nix deleted file mode 100644 index c3c574f..0000000 --- a/modules/wireguard/options.nix +++ /dev/null @@ -1,41 +0,0 @@ -{lib, ...}: let - inherit (lib) mkOption mkEnableOption; -in { - options = { - collinux.wireguard = { - enable = mkEnableOption "wireguard"; - ip = mkOption { - type = lib.types.str; - description = "host's ip address on the wireguard network (with cidr)"; - }; - gateway = mkOption { - type = lib.types.str; - description = "host's gateway"; - }; - privateKeyFile = mkOption { - type = lib.types.str; - description = "path to local private key file"; - example = "/run/secretd.d/wireguard-key"; - }; - peers = mkOption { - type = lib.types.attrsOf (lib.types.submodule { - options = { - publicKey = mkOption { - type = lib.types.str; - description = "peer's public key"; - }; - ip = mkOption { - type = lib.types.str; - description = "peer's IP address"; - }; - endpoint = mkOption { - type = lib.types.nullOr lib.types.str; - description = "peer's endpoint"; - default = null; - }; - }; - }); - }; - }; - }; -} |
