diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-19 07:44:46 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-19 07:44:46 -0600 |
| commit | 55d12269daddc3648eae5d236756059191834431 (patch) | |
| tree | 1fd86605cd40e869cefd760b67d8a2440f7ff782 /modules/services/options.nix | |
| parent | d6c4bd6d87d31a2c688fb2fcfdb0cb15d8f9163d (diff) | |
initial wireguard setup
Diffstat (limited to 'modules/services/options.nix')
| -rw-r--r-- | modules/services/options.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/services/options.nix b/modules/services/options.nix index 085895e..b2cc24e 100644 --- a/modules/services/options.nix +++ b/modules/services/options.nix @@ -132,18 +132,6 @@ in { assertion = with config.collinux.services.networking; (iwd.enable && !networkmanager.enable && !networkd.enable) || (!iwd.enable && networkmanager.enable && !networkd.enable) || (!iwd.enable && !networkmanager.enable && networkd.enable); message = "only one networking method (iwd, networkmanager, networkd) can be active"; } - { - assertion = with config.collinux.services.networking; !(wireguard.enable && tailscale.enable); - message = "only one vpn method (tailscale, wireguard) can be active"; - } - { - assertion = with config.collinux.services.networking; wireguard.enable && !networkd.enable; - message = "wireguard configuration only supports networkd at the moment"; - } - { - assertion = with config.collinux.services.networking.wireguard; enable && (peersConfig |> (builtins.filter (m: m.role == "hub")) |> lib.count) == 1; - message = "there must be exactly one hub in the wireguard configuration"; - } ]; }; } |
