summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-01-10 17:00:32 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-01-10 17:00:32 +0100
commited818d9989b3f1b12b315bd9e128eca59c1d1993 (patch)
treef79a77b1808ac70b6ffc631d1966e86ca2f19881 /services
parent28989b332c91b6129f78ec1a4e591c188bf76ebe (diff)
Create SSH-server module
Diffstat (limited to 'services')
-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")))))