flake/flake.nix
Arthur Wambst 1e492e0a02 dev theme
2025-02-20 11:53:53 +01:00

28 lines
706 B
Nix

# flake.nix
{
description = "My own Neovim flake";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs";
};
neovim = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
plugin-dracula = {
url = "github:Mofiqul/dracula.nvim";
flake = false;
};
};
outputs = { self, nixpkgs, neovim, ... }@inputs: {
nixosModules.neovim = { config, pkgs, ...}: {
# Installation de Neovim en tant que package système
environment.systemPackages = [ neovim.packages.${pkgs.system}.neovim ];
# Optionnel : Activer des services liés à Neovim, si besoin
programs.neovim.enable = true;
};
};
}