about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro Jäckel2024-06-26 22:48:10 +0200
committerMarcel2024-06-27 21:59:15 +0200
commitccd042b9695d0afbe62a5f9f8bd484b0eb2556d5 (patch)
tree62c955628f35640376f179f8a1d395bf5f48274a /nixos
parentd7977717ac447716d8421adfa8c3a8f51b611dd1 (diff)
nixos/hound: set reasonable default for dbpath
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/search/hound.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/search/hound.nix b/nixos/modules/services/search/hound.nix
index 9715e478e53a..7aca1adc19b0 100644
--- a/nixos/modules/services/search/hound.nix
+++ b/nixos/modules/services/search/hound.nix
@@ -92,6 +92,10 @@ in {
       '';
     };
 
+    services.hound.settings = {
+      dbpath = "${config.services.hound.home}/data";
+    };
+
     systemd.services.hound = {
       description = "Hound Code Search";
       wantedBy = [ "multi-user.target" ];