-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
49 lines (46 loc) · 1.69 KB
/
flake.nix
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
crane.url = "github:ipetkov/crane";
devshell.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
fenix.inputs.nixpkgs.follows = "nixpkgs";
fenix.url = "github:nix-community/fenix";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
git-hooks-nix.url = "github:cachix/git-hooks.nix";
git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks-nix.inputs.nixpkgs-stable.follows = "nixpkgs";
github-graphql-schema.flake = false;
github-graphql-schema.url = "github:octokit/graphql-schema";
nmd.inputs.nixpkgs.follows = "nixpkgs";
nmd.url = "git+https://git.sr.ht/~rycee/nmd";
systems.url = "github:nix-systems/default";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} ({inputs, ...}: {
systems = import inputs.systems;
imports = [
./modules/api
./modules/clippy.nix
./modules/crate-utils.nix
./modules/db-context.nix
./modules/dev-shell.nix
./modules/fetcher
./modules/filter-options.nix
./modules/formatting.nix
./modules/integration-tests
./modules/nixos-manual
./modules/nixos-modules-lib.nix
./modules/private-nixos-modules
./modules/program-docs.nix
./modules/release
./modules/store.nix
./modules/util.nix
./modules/git-hooks.nix
];
});
nixConfig.extra-experimental-features = ["pipe-operators" "no-url-literals"];
}