[fix] nvim: system module broke plugins
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s

The architecture of nixvim doesn't let me use NixOS modules T-T, I need
to use manual imports instead.
This commit is contained in:
Jalil David Salamé Messina 2024-06-22 19:25:51 +02:00
parent ac5e62a37c
commit ac30838621
Signed by: jalil
GPG key ID: F016B9E770737A0B
6 changed files with 480 additions and 489 deletions

View file

@ -1,5 +1,14 @@
{pkgs, ...} @ opts: {
{
lib,
pkgs,
config,
helpers,
...
}: let
# Force inputs to be included
nixvim = import ./nixvim.nix {inherit lib pkgs config helpers;};
in {
imports = [./options.nix];
config.programs.nixvim = (import ./nixvim.nix opts).config;
config.programs.nixvim = nixvim.config;
}