Add all of iogamaster modules

This commit is contained in:
2024-06-15 09:59:52 +02:00
parent c97f22254a
commit fa99b32cad
120 changed files with 3587 additions and 254 deletions

View File

@@ -0,0 +1,28 @@
{
options,
config,
lib,
...
}:
with lib;
with lib.frajul; let
cfg = config.apps.tools.direnv;
in {
options.apps.tools.direnv = with types; {
enable = mkBoolOpt false "Enable direnv";
};
config = mkIf cfg.enable {
home.programs.direnv = {
enable = true;
nix-direnv.enable = true;
enableNushellIntegration = true;
};
environment.sessionVariables.DIRENV_LOG_FORMAT = ""; # Blank so direnv will shut up
home.persist.directories = [
".local/share/direnv"
];
};
}