From 36630da39cb82a0fb75991ffeeefcb15623a47ea Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Tue, 28 Jul 2026 23:06:29 +0530 Subject: feat(usque): using usque for connecting with cloudflare warp - Using usque for an opensource alternative to cloudflare-warp client - Created utility script usque-warp that can automatically connect and disconnect channel with cloudflare warp --- modules/networking/default.nix | 1 + modules/networking/usque/default.nix | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 modules/networking/usque/default.nix (limited to 'modules/networking') diff --git a/modules/networking/default.nix b/modules/networking/default.nix index 17bbf38..ffafea2 100644 --- a/modules/networking/default.nix +++ b/modules/networking/default.nix @@ -4,5 +4,6 @@ imports = [ ./bluetui ./impala + ./usque ]; } diff --git a/modules/networking/usque/default.nix b/modules/networking/usque/default.nix new file mode 100644 index 0000000..c5ef315 --- /dev/null +++ b/modules/networking/usque/default.nix @@ -0,0 +1,21 @@ +# Usque - Open-source reimplementation of the Cloudflare WARP client's MASQUE protocol +{ + config, + pkgs, + lib, + ... +}: +{ + options.networking.usque = { + enable = lib.mkEnableOption "Enables usque."; + package = lib.mkOption { + type = lib.types.package; + default = pkgs.usque; + description = "The usque package to use."; + }; + }; + + config = lib.mkIf config.networking.usque.enable { + home.packages = [ config.networking.usque.package ]; + }; +} -- cgit v1.2.3