Merge pull request #179442 from alyssais/dictd

nixos/dictd: make dict use local server
This commit is contained in:
7c6f434c 2022-07-01 16:52:54 +00:00 committed by GitHub
commit 8d002d4a47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,10 @@ in
# get the command line client on system path to make some use of the service # get the command line client on system path to make some use of the service
environment.systemPackages = [ pkgs.dict ]; environment.systemPackages = [ pkgs.dict ];
environment.etc."dict.conf".text = ''
server localhost
'';
users.users.dictd = users.users.dictd =
{ group = "dictd"; { group = "dictd";
description = "DICT.org dictd server"; description = "DICT.org dictd server";