diff --git a/modules/programs/direnv.nix b/modules/programs/direnv.nix
index 03210827..ad294b2e 100644
--- a/modules/programs/direnv.nix
+++ b/modules/programs/direnv.nix
@@ -29,7 +29,7 @@ in {
default = { };
description = ''
Configuration written to
- $XDG_CONFIG_HOME/direnv/config.toml.
+ $XDG_CONFIG_HOME/direnv/direnv.toml.
See
@@ -92,7 +92,7 @@ in {
config = mkIf cfg.enable {
home.packages = [ pkgs.direnv ];
- xdg.configFile."direnv/config.toml" = mkIf (cfg.config != { }) {
+ xdg.configFile."direnv/direnv.toml" = mkIf (cfg.config != { }) {
source = tomlFormat.generate "direnv-config" cfg.config;
};