flake-nvim/modules/nvim/nvim.nix
Arthur Wambst ab2336563e dev
2025-02-22 15:05:12 +01:00

17 lines
406 B
Nix

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