nixos-config/configs/nixvim/fiesta/modules/setups/devenvs.nix

16 lines
353 B
Nix

{ config, lib, pkgs, ... }:
let
nixvimCfg = config.nixvimConfigs.fiesta;
cfg = nixvimCfg.setups.devenvs;
in
{
options.nixvimConfigs.fiesta.setups.devenvs.enable =
lib.mkEnableOption "integration for typical devenvs";
config = lib.mkIf cfg.enable {
plugins.direnv.enable = true;
plugins.nvim-remote-containers.enable = true;
};
}