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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user