add tor hidden service on laptop
parent
ff31c8c604
commit
c9a99431c0
|
@ -11,6 +11,7 @@ in
|
||||||
[ ./hardware-configuration.nix
|
[ ./hardware-configuration.nix
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/graphical.nix
|
../roles/graphical.nix
|
||||||
|
../modules/tor-hidden-service.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# no, not that Ascanius.
|
# no, not that Ascanius.
|
||||||
|
@ -43,4 +44,11 @@ in
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
export SSH_AUTH_SOCK="''${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK="''${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
services.tor.hiddenServices = [
|
||||||
|
{ name = "ssh";
|
||||||
|
port = 22;
|
||||||
|
hostname = secrets.tor_hostnames."ssh.ascanius";
|
||||||
|
private_key = "/run/keys/torkeys/ssh.ascanius.key"; }
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue