diff options
author | Timo Wilken | 2024-02-16 22:57:16 +0100 |
---|---|---|
committer | Timo Wilken | 2024-02-16 22:57:16 +0100 |
commit | 7a52f4dd2f8fb65b660092d75249e357037f7177 (patch) | |
tree | 8c6fdd22c19306339a52aaeabac041abd17b9510 /tw/home.scm | |
parent | 4a757e97b598e7b33c3bbcd11fc984dbddffddb8 (diff) |
Generate home-openssh-configuration instead of full service
This lets me extend the configuration, if I need to, by inheriting from the
generated configuration.
Diffstat (limited to 'tw/home.scm')
-rw-r--r-- | tw/home.scm | 6 |
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. |