nixos-config/configs/flake-parts/nixvim.nix
Gabriel Arazas e2af893f64
Some checks failed
Cache outputs / build-custom-packages (push) Has been cancelled
Publish every Git push to master to FlakeHub / flakehub-publish (push) Has been cancelled
Build project site / build (push) Has been cancelled
Build devcontainers / build-devcontainers (push) Has been cancelled
Check flake outputs / check-outputs (push) Has been cancelled
Build personalized bootstrap ISO / build-iso (x86_64-linux) (push) Has been cancelled
Build project site / deploy (push) Has been cancelled
nix: init core subflake
It is heavily preferred if a private config is only meant to use the
project's module and also wants to avoid the heavy list of inputs it
isn't going to use anyways (which happens for 99% of the time).
2025-04-29 16:50:06 +08:00

31 lines
821 B
Nix

{ inputs, lib, ... }:
{
setups.nixvim.configs = {
fiesta = {
components = [{
nixpkgsBranch = "nixos-unstable";
nixvimBranch = "nixvim-unstable";
neovimPackage = pkgs: pkgs.neovim;
overlays = [ inputs.neovim-nightly-overlay.overlays.default ];
}];
};
trovebelt = {
components = lib.cartesianProduct {
nixpkgsBranch = [ "nixos-unstable" ];
nixvimBranch = [ "nixvim-unstable" ];
neovimPackage = [ (pkgs: pkgs.neovim) ];
overlays = [ [ inputs.neovim-nightly-overlay.overlays.default ] [ ] ];
};
};
};
setups.nixvim.sharedModules = [
# The rainbow road to ricing your raw materials.
inputs.self.nixvimModules.bahaghari
];
flake = { nixvimModules.default = inputs.fds-core.nixvimModules.default; };
}