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
This commit is contained in:
Sakooooo 2024-10-08 20:16:26 +04:00
parent d7b68928a7
commit c3f4f06054
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 14 additions and 1 deletions

View file

@ -1 +1 @@
{ imports = [ ./age.nix ./certs ]; }
{ imports = [ ./age.nix ./certs ./tor.nix ]; }

13
modules/security/tor.nix Normal file
View file

@ -0,0 +1,13 @@
{ 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; };
};
};
}