-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
43 lines (37 loc) · 1.19 KB
/
flake.nix
File metadata and controls
43 lines (37 loc) · 1.19 KB
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
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts = { url = "github:hercules-ci/flake-parts"; };
systems.url = "github:nix-systems/default";
rust-flake = {
url = "github:juspay/rust-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
# Dev tools
process-compose-flake.url =
"github:Platonic-Systems/process-compose-flake/f6ce9481df9aec739e4e06b67492401a5bb4f0b1";
cargo-doc-live.url =
"github:srid/cargo-doc-live/b09d5d258d2498829e03014931fc19aed499b86f";
git-hooks = {
url = "github:cachix/git-hooks.nix";
flake = false;
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# personal repos
dotfiles = {
url = "github:gignsky/dotfiles";
flake = true;
};
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
# See ./nix/modules/*.nix for the modules that are imported here.
imports = with builtins;
map (fn: ./nix/modules/${fn}) (attrNames (readDir ./nix/modules));
};
}