nixpkgs/nixos/modules/services/networking/mptcpd.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
459 B
Nix
Raw Permalink Normal View History

{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.mptcpd;
in
{
options = {
services.mptcpd = {
enable = lib.mkEnableOption "the Multipath TCP path management daemon";
package = lib.mkPackageOption pkgs "mptcpd" { };
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.packages = [ cfg.package ];
};
meta.maintainers = with lib.maintainers; [ nim65s ];
}