nixos/modules/security/tor.nix
Sakooooo c3f4f06054
sigma sigma on the wall, i hear them in my head again
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
the voices are back
2024-10-08 20:16:26 +04:00

13 lines
318 B
Nix

{ outputs, options, config, lib, pkgs, ... }:
let cfg = config.modules.security.tor;
in {
options.modules.security.tor = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable {
services.tor = {
enable = true;
torsocks.enable = true;
client = { enable = true; };
};
};
}