17 lines
406 B
Nix
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
|
|
|
|
};
|
|
}
|