flake-nvim/modules/nvim/nvim.nix
Arthur Wambst e668be070b dev
2025-02-22 14:51:21 +01:00

15 lines
365 B
Nix

{ config, pkgs, lib, inputs, ... }:
with lib; {
imports = [ ./theme.nix ];
options.nvim = {
enable = lib.mkEnableOption "Enable Neovim";
default = true;
};
config = lib.mkIf config.nvim.enable {
environment.systemPackages = [ inputs.neovim.packages.${pkgs.system}.neovim ];
# Import the theme module automatically if it's available
};
}