mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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:
parent
c3d95a02e9
commit
4684ff771e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user