aboutsummaryrefslogtreecommitdiff
path: root/kbg
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2022-10-08 20:15:11 -0600
committerKenny Ballou <kb@devnulllabs.io>2022-10-08 20:15:11 -0600
commit30e37d22db4b336515c3ea3233e2ef3978735d1d (patch)
tree540c1a9d4ca4e26df4d666facef35c4dd561964a /kbg
parent52d493ce1b1d1cb3d836a54dedf0584b45592c19 (diff)
downloaddotfiles-30e37d22db4b336515c3ea3233e2ef3978735d1d.tar.gz
dotfiles-30e37d22db4b336515c3ea3233e2ef3978735d1d.tar.xz
services: add dictionary service
This file was missing from the previous commit on local dictionary daemon. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'kbg')
-rw-r--r--kbg/services/dict.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/kbg/services/dict.scm b/kbg/services/dict.scm
new file mode 100644
index 00000000..aa353594
--- /dev/null
+++ b/kbg/services/dict.scm
@@ -0,0 +1,15 @@
+(define-module (kbg services dict)
+ #:use-module (kbg)
+ #:use-module (gnu)
+ #:use-module (guix)
+ #:use-module (guix gexp)
+ #:use-module (gnu services)
+ #:use-module (gnu services dict)
+ #:export (dictionary-service))
+
+(define dictionary-service
+ (simple-service 'dictionary-service
+ dicod-service-type
+ (dicod-configuration
+ (interfaces '("localhost"))
+ (databases (list %dicod-database:gcide)))))