diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..4bea99c --- /dev/null +++ b/flake.nix @@ -0,0 +1,39 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + flake-parts = { + url = "github:hercules-ci/flake-parts"; + inputs.nixpkgs-lib.follows = "nixpkgs"; + }; + + getchpkgs = { + url = "github:getchoo/getchpkgs"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = + inputs: + + inputs.flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + ./checks.nix + ./dev-shells.nix + ./lwjgl.nix + ./module.nix + ]; + + systems = [ + "x86_64-linux" + "aarch64-linux" + ]; + + perSystem = + { pkgs, ... }: + + { + formatter = pkgs.nixfmt-rfc-style; + }; + }; +} |
