mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
flake/dev: sort flake inputs
This commit is contained in:
parent
0ccc452af2
commit
ffdeb40a50
1 changed files with 16 additions and 12 deletions
|
@ -7,6 +7,21 @@
|
||||||
# TODO: Once nix 2.26 is more prevalent, follow the root flake's inputs using a "path:../.." input.
|
# TODO: Once nix 2.26 is more prevalent, follow the root flake's inputs using a "path:../.." input.
|
||||||
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
|
# flake-compat is used by the root `default.nix` to allow non-flake users to import nixvim
|
||||||
|
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
||||||
|
|
||||||
|
# keep-sorted start block=yes newline_separated=yes
|
||||||
|
devshell = {
|
||||||
|
url = "github:numtide/devshell";
|
||||||
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
git-hooks = {
|
||||||
|
url = "github:cachix/git-hooks.nix";
|
||||||
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||||
|
inputs.flake-compat.follows = "flake-compat";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||||
|
@ -17,23 +32,12 @@
|
||||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
devshell = {
|
|
||||||
url = "github:numtide/devshell";
|
|
||||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
treefmt-nix = {
|
treefmt-nix = {
|
||||||
url = "github:numtide/treefmt-nix";
|
url = "github:numtide/treefmt-nix";
|
||||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
# keep-sorted end
|
||||||
|
|
||||||
git-hooks = {
|
|
||||||
url = "github:cachix/git-hooks.nix";
|
|
||||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
||||||
inputs.flake-compat.follows = "flake-compat";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# This flake is only used for its inputs.
|
# This flake is only used for its inputs.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue