flake-nvim/modules/nvim/nvim.nix
Arthur Wambst 2e90995831 dev
2025-02-22 15:00:24 +01:00

17 lines
402 B
Nix

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