to be continued

This commit is contained in:
christoph.hollizeck 2024-03-22 18:18:58 +01:00 committed by Christoph Hollizeck
parent 030f251ce9
commit fcaa48df90
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
8 changed files with 255 additions and 36 deletions

View file

@ -0,0 +1,20 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let cfg = config.wyrdgard.tools.direnv;
in
{
options.wyrdgard.tools.direnv = with types; {
enable = mkBoolOpt false "Whether or not to enable direnv.";
};
config = mkIf cfg.enable {
wyrdgard.home.extraOptions = {
programs.direnv = {
enable = true;
nix-direnv = enabled;
};
};
};
}