flake-nvim/modules/nvim/nvim.nix
Arthur Wambst 0596d0e136 teststst
2025-02-22 14:34:41 +01:00

15 lines
330 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 = [ pkgs.neovim ];
# Import the theme module automatically if it's available
};
}