# nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of my nixos-config. # # You should have received a copy of the License along with this program. # If not, see . { config, lib, ... }: let cfg = config.soispha.programs.direnv; in { options.soispha.programs.direnv = { enable = lib.mkEnableOption "direnv"; }; config.home-manager.users.soispha.programs.direnv = lib.mkIf cfg.enable { enable = true; nix-direnv.enable = true; config = { warn_timeout = 0; # strict_env = true; # disable_stdin = true; }; }; }