From 4684ff771e9433c83d642caf075cbeaa079d6aed Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 28 Jun 2022 12:22:45 +0000 Subject: [PATCH] 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. --- nixos/modules/services/misc/dictd.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/misc/dictd.nix b/nixos/modules/services/misc/dictd.nix index 96e2a4e7c260..8cb51bb0b7a7 100644 --- a/nixos/modules/services/misc/dictd.nix +++ b/nixos/modules/services/misc/dictd.nix @@ -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";