l: add tor-ssh.nix
This commit is contained in:
parent
db7da0a5d5
commit
a6ec22808c
@ -10,6 +10,7 @@ with import <stockholm/lib>;
|
||||
./htop.nix
|
||||
<stockholm/krebs/2configs/security-workarounds.nix>
|
||||
./wiregrill.nix
|
||||
./tor-ssh.nix
|
||||
{
|
||||
users.extraUsers =
|
||||
mapAttrs (_: h: { hashedPassword = h; })
|
||||
|
14
lass/2configs/tor-ssh.nix
Normal file
14
lass/2configs/tor-ssh.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
services.tor = {
|
||||
enable = true;
|
||||
relay.onionServices.ssh = {
|
||||
version = 3;
|
||||
map = [{
|
||||
port = 22;
|
||||
target.port = 22;
|
||||
}];
|
||||
secretKey = <secrets/ssh-tor.priv>;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user