This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

configs tor-ssh: auto generate hidden service

+11 -1
+11 -1
nixos/2configs/tor-ssh.nix
··· 1 - { config, ... }: 1 + { config, pkgs, ... }: 2 2 { 3 3 services.tor = { 4 4 enable = true; ··· 12 12 }; 13 13 controlSocket.enable = true; 14 14 client.enable = true; 15 + }; 16 + 17 + clanCore.secrets.tor-ssh = { 18 + secrets."ssh-tor.priv" = { }; 19 + secrets."tor-hostname" = { }; 20 + generator = '' 21 + ${pkgs.mkp224o}/bin/mkp224o-donna lass -n 1 -d . -q -O addr 22 + mv "$(cat addr)"/hs_ed25519_secret_key "$secrets"/ssh-tor.priv 23 + mv addr "$secrets"/tor-hostname 24 + ''; 15 25 }; 16 26 } 17 27