This commit is contained in:
Arthur Wambst 2025-02-25 15:25:04 +01:00
parent 46418935d9
commit e4b0e10c80

View File

@ -20,18 +20,7 @@
};
outputs = { self, nixpkgs, neovim, ... }@inputs: {
nixosModules.neovim = { config, lib, pkgs,... }:
let
theme = "dracula"; # Change ici pour "gruvbox" ou autre
themePackage = {
"dracula" = inputs.plugin-dracula;
"gruvbox" = inputs.plugin-gruvbox;
"tokyonight" = null; # Pas de flake pour tokyonight
}.${theme} or null;
in
{
options.neovim.enable = lib.mkEnableOption "Enable Neovim";
nixosModules.neovim ={
config = {
environment.systemPackages = [
inputs.neovim.packages.${pkgs.system}.neovim