blob: af6e221204af01196fa3b583b4b5f2d2c5521f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
(define-module (kbg services config ssh)
#:use-module (kbg)
#:use-module (gnu)
#:use-module (guix)
#:use-module (gnu home services)
#:use-module (kbg packages networking)
#:export (ssh-config-service))
(define ssh-config-service
(list (simple-service 'ssh-config
home-files-service-type
`((".ssh/isup"
,(file-append isup "/bin/isup"))
(".ssh/config"
,(local-file (string-append %dotfiles-root "config/ssh/ssh/config")))
(".ssh/authorized_keys"
,(local-file (string-append %dotfiles-root "config/ssh/ssh/authorized_keys")))
(".ssh/config.d"
,(local-file (string-append %dotfiles-root "config/ssh/ssh/config.d")
#:recursive? #t))))))
|