Disable direnv delay warning

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-01-15 11:07:55 +00:00
parent 6b366fc24a
commit ece246937d
2 changed files with 21 additions and 12 deletions

View File

@@ -4,6 +4,7 @@
}: }:
{ {
lib, lib,
pkgs,
inputs, inputs,
system, system,
... ...
@@ -59,7 +60,8 @@
}; };
# https://github.com/direnv/direnv/wiki/Customizing-cache-location # https://github.com/direnv/direnv/wiki/Customizing-cache-location
xdg.configFile."direnv/direnvrc".text = '' xdg.configFile = {
"direnv/direnvrc".text = ''
declare -A direnv_layout_dirs declare -A direnv_layout_dirs
direnv_layout_dir() { direnv_layout_dir() {
local hash path local hash path
@@ -70,6 +72,13 @@
)}" )}"
} }
''; '';
"direnv/direnv.toml".source = (
(pkgs.formats.toml { }).generate "direnv.toml" {
global.warn_timeout = 0;
}
);
};
}; };
environment.persistence = { environment.persistence = {

View File

@@ -464,7 +464,7 @@ in
}; };
xdg.configFile."matugen/config.toml".source = ( xdg.configFile."matugen/config.toml".source = (
(pkgs.formats.toml { }).generate "matugen" { (pkgs.formats.toml { }).generate "config.toml" {
config = { config = {
custom_colors = custom_colors =
let let