summaryrefslogtreecommitdiff
path: root/services/ssh-server.scm
diff options
context:
space:
mode:
Diffstat (limited to 'services/ssh-server.scm')
-rw-r--r--services/ssh-server.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/services/ssh-server.scm b/services/ssh-server.scm
new file mode 100644
index 0000000..2fbdbfb
--- /dev/null
+++ b/services/ssh-server.scm
@@ -0,0 +1,12 @@
+(define-module (ssh-server)
+ #:use-module (gnu)
+ #:use-module (gnu home)
+ #:use-module (gnu home services)
+ #:use-module (gnu services ssh))
+
+(define-public ssh-service
+ (service openssh-service-type))
+
+(define-public ssh-configuration
+ (simple-service 'ssh-configuration* home-files-service-type
+ `((".ssh/config" ,(local-file "../ssh.config")))))