20 lines
357 B
Nix
20 lines
357 B
Nix
{ config, lib, inputs, ... }:
|
|
with lib; {
|
|
|
|
options.neovim = {
|
|
enable = lib.mkEnableOption "Enable Neovim";
|
|
default = true;
|
|
};
|
|
|
|
config = {
|
|
# Installation de Neovim en tant que package système
|
|
environment.systemPackages = [ inputs.neovim ];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
imports = [ ./theme.nix ];
|
|
}
|