nixos-config/configs/flake-parts/nixvim.nix

38 lines
705 B
Nix
Raw Normal View History

2024-02-23 10:17:43 +00:00
{ inputs, ... }:
2024-01-25 14:51:05 +00:00
{
2024-02-04 12:50:54 +00:00
setups.nixvim.configs = {
fiesta = {
2024-01-25 14:51:05 +00:00
nixpkgsBranches = [
"nixos-unstable"
];
2024-02-04 12:50:54 +00:00
neovimPackages = p: with p; [
neovim-nightly
];
};
trovebelt = {
nixpkgsBranches = [
"nixos-unstable"
];
neovimPackages = p: with p; [
neovim-nightly
];
2024-01-25 14:51:05 +00:00
};
};
2024-01-26 08:54:16 +00:00
2024-02-23 10:17:43 +00:00
setups.nixvim.sharedModules = [
# Setting up Bahaghari.
({ config, lib, pkgs, ... }: {
imports = [ inputs.self.nixvimModules."bahaghari/tinted-theming" ];
_module.args.bahaghariLib =
import inputs.self.bahaghariLib { inherit pkgs; };
})
];
2024-01-26 08:54:16 +00:00
flake = {
nixvimModules.default = ../../modules/nixvim;
};
2024-01-25 14:51:05 +00:00
}