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:
parent
d7b68928a7
commit
c3f4f06054
2 changed files with 14 additions and 1 deletions
|
@ -1 +1 @@
|
|||
{ imports = [ ./age.nix ./certs ]; }
|
||||
{ imports = [ ./age.nix ./certs ./tor.nix ]; }
|
||||
|
|
13
modules/security/tor.nix
Normal file
13
modules/security/tor.nix
Normal 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; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue