packages is now a modul
This commit is contained in:
parent
254e48339f
commit
6cc15d7f2e
11
flake.nix
11
flake.nix
@ -11,10 +11,13 @@
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, neovim }: {
|
||||
packages.x86_64-linux.default = neovim.packages.x86_64-linux.neovim;
|
||||
apps.x86_64-linux.default = {
|
||||
type = "app";
|
||||
program = "${neovim.packages.x86_64-linux.neovim}/bin/nvim";
|
||||
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;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user