summaryrefslogtreecommitdiff
path: root/meta/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'meta/flake.nix')
-rw-r--r--meta/flake.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/flake.nix b/meta/flake.nix
new file mode 100644
index 0000000000..aaacaa58e5
--- /dev/null
+++ b/meta/flake.nix
@@ -0,0 +1,35 @@
+{
+ description = "Prism Launcher Metadata generation scripts";
+
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
+ flake-parts = {
+ url = "github:hercules-ci/flake-parts";
+ inputs.nixpkgs-lib.follows = "nixpkgs";
+ };
+ git-hooks = {
+ url = "github:cachix/git-hooks.nix";
+ inputs.flake-compat.follows = "";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ };
+
+ outputs = inputs:
+ inputs.flake-parts.lib.mkFlake
+ {inherit inputs;}
+ {
+ imports = [
+ inputs.git-hooks.flakeModule
+
+ ./nix/dev.nix
+ ./nix/nixos
+ ./nix/packages.nix
+ ];
+
+ # Supported systems.
+ systems = [
+ "x86_64-linux"
+ "aarch64-linux"
+ ];
+ };
+}