diff options
-rw-r--r-- | aisaka.org | 15 | ||||
-rw-r--r-- | home-configuration.scm | 9 | ||||
-rw-r--r-- | ssh.config | 7 |
3 files changed, 22 insertions, 9 deletions
@@ -425,7 +425,20 @@ memory without overprovisioning, as well as to prolog the lifetime of SSD. #+begin_src scheme :noweb-ref ssh-user-configuration (simple-service 'ssh-configuration* home-files-service-type - `((".ssh/config" ,(local-file "ssh.config")))) + `((".ssh/config" ,(plain-file "ssh-config" "\ + <<ssh-config>>\n")))) +#+end_src + +**** TODO SSH Configuration File + +#+begin_src bash :noweb-ref ssh-config + Host *.onion + ProxyCommand nc -x localhost:9050 -X5 %h %p + + Host kynio.onion + User kynio + Hostname prnpi5oblk35gzcihbgu3227xvanisouxgbejri57bnzjawcksq4l7yd.onion + Port 22 #+end_src * TODO Device Management diff --git a/home-configuration.scm b/home-configuration.scm index 2d13f2d..ab9048d 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -132,7 +132,14 @@ (description "Custom version of ORG-FC.") (default-value #f))) (simple-service 'ssh-configuration* home-files-service-type - `((".ssh/config" ,(local-file "ssh.config")))) + `((".ssh/config" ,(plain-file "ssh-config" "\ + Host *.onion + ProxyCommand nc -x localhost:9050 -X5 %h %p + + Host kynio.onion + User kynio + Hostname prnpi5oblk35gzcihbgu3227xvanisouxgbejri57bnzjawcksq4l7yd.onion + Port 22\n")))) (service (service-type (name 'trezor-user-packages) diff --git a/ssh.config b/ssh.config deleted file mode 100644 index f49de8b..0000000 --- a/ssh.config +++ /dev/null @@ -1,7 +0,0 @@ -Host *.onion - ProxyCommand nc -x localhost:9050 -X5 %h %p - -Host kynio.onion - User kynio - Hostname prnpi5oblk35gzcihbgu3227xvanisouxgbejri57bnzjawcksq4l7yd.onion - Port 22
\ No newline at end of file |