This commit is contained in:
Arthur Wambst 2025-02-22 15:13:34 +01:00
parent ab2336563e
commit 1d3c4cc2ac

View File

@ -1,16 +1,18 @@
{ config, pkgs, lib, inputs, ... }:
{ config, 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
# Installation de Neovim en tant que package système
environment.systemPackages = [ neovim.packages.${pkgs.system}.neovim ];
programs.neovim = {
enable = true;
};
};
imports = [ ./theme.nix ];
}