diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-01-10 17:00:32 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2023-01-10 17:00:32 +0100 |
commit | fdf36b40a637b9a4c2a20bbe0017c93c971976ac (patch) | |
tree | 57432b3a5bced22de2b6f9d406736707e958baac | |
parent | b93af413fa1530190f619a7dbd4361b1161535e1 (diff) |
Create SSH-server module
-rw-r--r-- | services/ssh-server.scm | 12 |
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"))))) |