devenv
This commit is contained in:
parent
42db03dd4e
commit
38839cdcbf
4 changed files with 27 additions and 4 deletions
18
modules/dev/default.nix
Normal file
18
modules/dev/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.dev;
|
||||
in {
|
||||
options.modules.dev = {
|
||||
enable = mkEnableOption "General development utilities";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.direnv ={
|
||||
enable = true;
|
||||
silent = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue