aboutsummaryrefslogtreecommitdiff
path: root/tw/home.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home.scm')
-rw-r--r--tw/home.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tw/home.scm b/tw/home.scm
index 990c4c24..9eca91b9 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -668,9 +668,9 @@ show_border=1
(define (make-own-ssh-host host port)
(openssh-host (name host) (port port) (user "timo")))
-(define-public (openssh-service proxy-to-cern?)
- (define no-proxy (list (proxy-jump (host-name "none"))))
- (service home-openssh-service-type
+(export tw-openssh-configuration)
+(define* (tw-openssh-configuration #:key (proxy-to-cern? #t))
+ (let ((no-proxy (list (proxy-jump (host-name "none")))))
(home-openssh-configuration
(hosts
;; Earlier rules take precedence over later ones.