Reviewed-on: https://gitea.mrdev023.fr/florian.richer/nixos/pulls/1 Co-authored-by: Florian RICHER <florian.richer@protonmail.com> Co-committed-by: Florian RICHER <florian.richer@protonmail.com>
This commit is contained in:
parent
e9329e63dc
commit
b7f82f87e8
84 changed files with 1100 additions and 1247 deletions
18
modules/home/shell/direnv/default.nix
Normal file
18
modules/home/shell/direnv/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.home.shell.direnv;
|
||||
in
|
||||
{
|
||||
options.modules.home.shell.direnv = {
|
||||
enable = mkEnableOption ''
|
||||
Enable direnv with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue