blob: c5ef3159ac32fcd4229ac4bc859ef3747bf84c18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
};
}
|