From eee994b35eb98aed4fb64a84c26b420847d0d5cf Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 21 Jun 2022 20:25:33 -0700 Subject: [PATCH] Add ssh configuration --- oni/home/data/config.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm index 24c2aaf..e65caa2 100644 --- a/oni/home/data/config.scm +++ b/oni/home/data/config.scm @@ -3,6 +3,7 @@ #:use-module (gnu home services) #:use-module (gnu home services shells) #:use-module (gnu home services desktop) + #:use-module (gnu home services ssh) #:use-module (gnu services) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -380,4 +381,17 @@ (service home-unclutter-service-type (home-unclutter-configuration (package unclutter-xfixes) - (exclude-root #t)))))) + (exclude-root #t))) + + (service home-openssh-service-type + (home-openssh-configuration + (hosts (list (openssh-host + (name "ryuslash") + (host-name "ryuslash.org") + (user "slash") + (port 4511) + (extra-content "LocalForward 8090 localhost:8090 +LocalForward 2812 localhost:2812")) + (openssh-host + (name "rincewind") + (port 4511)))))))))