-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
75 lines (75 loc) · 2.37 KB
/
flake.nix
File metadata and controls
75 lines (75 loc) · 2.37 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
inputs = {
# keep-sorted start block=yes
codegen = {
url = "github:anteriorcore/codegen";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.systems.follows = "systems";
};
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
gradle2nix = {
url = "github:oyasaiserver/gradle2nix?ref=v2";
inputs.nixpkgs.follows = "nixpkgs";
};
mc-monitor = {
url = "github:itzg/mc-monitor";
flake = false;
};
nix-minecraft = {
url = "github:infinidoge/nix-minecraft";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
nixpkgs-terraform-providers-bin = {
url = "github:nix-community/nixpkgs-terraform-providers-bin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
package-lock2nix = {
url = "github:anteriorcore/package-lock2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.systems.follows = "systems";
};
systems.url = "github:nix-systems/default";
tools = {
url = "github:anteriorcore/tools";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.systems.follows = "systems";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# keep-sorted end
};
outputs =
{ flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [
# keep-sorted start
./nix/flake-parts/codegen.nix
./nix/flake-parts/devshells.nix
./nix/flake-parts/docker.nix
./nix/flake-parts/misc.nix
./nix/flake-parts/oyasai-scope.nix
./nix/flake-parts/treefmt.nix
inputs.codegen.flakeModules.default
inputs.devshell.flakeModule
inputs.tools.flakeModules.checkBuildAll
inputs.treefmt-nix.flakeModule
# keep-sorted end
];
};
}