number 6 with extra cheese please
This commit is contained in:
parent
534005255a
commit
1851e011a5
1 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,12 @@ in {
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
age.secrets.torrc = {
|
||||
file = ../../secrets/shared/torrc.age;
|
||||
owner = "tor";
|
||||
group = "tor";
|
||||
};
|
||||
|
||||
users.users.sako.packages = with pkgs; [ tor-browser ];
|
||||
|
||||
services.tor = {
|
||||
|
@ -12,5 +18,8 @@ in {
|
|||
torsocks.enable = true;
|
||||
client = { enable = true; };
|
||||
};
|
||||
|
||||
environment.etc = { "tor/torrc".source = config.age.secrets.torrc.path; };
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue