init
This commit is contained in:
commit
1e2ca5a6fc
71 changed files with 3330 additions and 0 deletions
58
flake.nix
Normal file
58
flake.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
# https://github.com/redyf/Neve/blob/main/flake.nix
|
||||
description = "nixvim-for-share";
|
||||
|
||||
inputs = {
|
||||
# https://github.com/nix-community/nixvim/issues/1859
|
||||
# use nixos-24.05 branch to get rid of "error: attribute 'cmp-ai' missing"
|
||||
# nixvim.url = "github:nix-community/nixvim/main";
|
||||
|
||||
nixvim = {
|
||||
# url = "github:nix-community/nixvim/nixos-25.05";
|
||||
url = "github:nix-community/nixvim/main";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-parts.follows = "flake-parts";
|
||||
};
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
# nixpkgs.follows = "nixvim/nixpkgs";
|
||||
|
||||
# https://github.com/nvim-neorg/nixpkgs-neorg-overlay
|
||||
# https://github.com/nix-community/nixvim/issues/1395
|
||||
# remove this and use nixos-25.05 to accelerate evaluation time
|
||||
#
|
||||
# https://haseebmajid.dev/posts/2024-04-21-til-how-to-fix-neorg-metadata-treesitter-issues-with-nixvim/
|
||||
# no need to use neorg-overlay after adding treesitter in ./config/plugins/neorg.nix
|
||||
# neorg-overlay = {
|
||||
# url = "github:nvim-neorg/nixpkgs-neorg-overlay";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
# inputs.flake-utils.follows = "flake-utils";
|
||||
# };
|
||||
devshell = {
|
||||
url = "github:numtide/devshell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{
|
||||
self,
|
||||
flake-parts,
|
||||
...
|
||||
}:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
imports = [
|
||||
./flake-modules/formatter.nix
|
||||
./flake-modules/nixvim.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue