-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathflake.nix
More file actions
32 lines (29 loc) · 951 Bytes
/
flake.nix
File metadata and controls
32 lines (29 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
# TODO: Make plugins lazy load as now keymap function is added
description = "Neovim configuration with nix";
nixConfig = {
extra-substituters = "https://nvix.cachix.org";
extra-trusted-public-keys = "nvix.cachix.org-1:qVYAfj2oiH0DF3pSs8OfPYI6B0mAZ+h5mMajN+EOL2E=";
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim.url = "github:nix-community/nixvim";
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
systems.url = "github:nix-systems/default";
# hooks for git
git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.flake = false;
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
_module.args = { inherit inputs; };
imports = [
./modules/flake
./overlays
./plugins
];
};
}