nixos/dictd: make dict use local server

Seems silly to install this for use with the local server, but to not
configure it to use the local server.  Otherwise, out of the box we
just get an error about no server being configured.
This commit is contained in:
Alyssa Ross
2022-06-28 12:22:45 +00:00
parent c3d95a02e9
commit 4684ff771e
+4
View File
@@ -45,6 +45,10 @@ in
# get the command line client on system path to make some use of the service
environment.systemPackages = [ pkgs.dict ];
environment.etc."dict.conf".text = ''
server localhost
'';
users.users.dictd =
{ group = "dictd";
description = "DICT.org dictd server";