···11-# FIXME: i have disabeled this since it broke my ipv4 connections
22-{
33- lib,
44- config,
55- ...
66-}:
77-let
88- inherit (lib) mkIf;
99-in
1010-{
1111- # enable opportunistic TCP encryption
1212- # this is NOT a pancea, however, if the receiver supports encryption and the attacker is passive
1313- # privacy will be more plausible (but not guaranteed, unlike what the option docs suggest)
1414- # networking.tcpcrypt.enable = !config.garden.profiles.server.enable;
1515-1616- users = mkIf config.networking.tcpcrypt.enable {
1717- groups.tcpcryptd = { };
1818- users.tcpcryptd = {
1919- group = "tcpcryptd";
2020- isSystemUser = true;
2121- };
2222- };
2323-}