diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-28 23:06:29 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-28 23:06:29 +0530 |
| commit | 36630da39cb82a0fb75991ffeeefcb15623a47ea (patch) | |
| tree | 086fcac4fc0070d0225bab396e57a0b59c1413b8 /modules/networking | |
| parent | f357c956a5c9f8a662e1cb354d97eccc55deca0c (diff) | |
| download | home-manager-config-36630da39cb82a0fb75991ffeeefcb15623a47ea.tar.gz home-manager-config-36630da39cb82a0fb75991ffeeefcb15623a47ea.zip | |
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
Diffstat (limited to 'modules/networking')
| -rw-r--r-- | modules/networking/default.nix | 1 | ||||
| -rw-r--r-- | modules/networking/usque/default.nix | 21 |
2 files changed, 22 insertions, 0 deletions
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 ]; + }; +} |
