number 6 with extra cheese please

This commit is contained in:
Sakooooo 2024-10-09 06:29:58 +04:00
parent 534005255a
commit 1851e011a5
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -5,6 +5,12 @@ in {
config = lib.mkIf cfg.enable { 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 ]; users.users.sako.packages = with pkgs; [ tor-browser ];
services.tor = { services.tor = {
@ -12,5 +18,8 @@ in {
torsocks.enable = true; torsocks.enable = true;
client = { enable = true; }; client = { enable = true; };
}; };
environment.etc = { "tor/torrc".source = config.age.secrets.torrc.path; };
}; };
} }