{"id":14967988,"url":"https://github.com/matrixai/nixpkgs-matrix","last_synced_at":"2025-10-26T00:30:47.447Z","repository":{"id":220453581,"uuid":"751677573","full_name":"MatrixAI/nixpkgs-matrix","owner":"MatrixAI","description":"A public nixpkgs/flakes package collection for Matrix AI.","archived":false,"fork":false,"pushed_at":"2025-01-06T05:08:11.000Z","size":43,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"staging","last_synced_at":"2025-01-31T12:51:20.316Z","etag":null,"topics":["flakes","nix","nixpkgs"],"latest_commit_sha":null,"homepage":"https://matrix.ai","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatrixAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-02T04:47:24.000Z","updated_at":"2025-01-31T10:27:32.000Z","dependencies_parsed_at":"2024-02-16T01:25:15.714Z","dependency_job_id":"96ad805a-533d-4771-a920-86f05d70a2fc","html_url":"https://github.com/MatrixAI/nixpkgs-matrix","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.19047619047619047","last_synced_commit":"e0cff071d16c8b601558d4a597e9d5d39a0db7af"},"previous_names":["matrixai/matrix-overlay"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixAI%2Fnixpkgs-matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixAI%2Fnixpkgs-matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixAI%2Fnixpkgs-matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixAI%2Fnixpkgs-matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatrixAI","download_url":"https://codeload.github.com/MatrixAI/nixpkgs-matrix/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flakes","nix","nixpkgs"],"created_at":"2024-09-24T13:39:04.298Z","updated_at":"2025-10-26T00:30:47.092Z","avatar_url":"https://github.com/MatrixAI.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nixpkgs-matrix\n\nMatrix AI's public Nix Packages collection.\n\n## Contents\n\n- [Installation](#installation)\n  - [How to use](#how-to-use)\n  - [Include in flake.nix](#include-in-flakenix)\n- [Development](#development)\n  - [Project structure](#project-structure)\n- [License](#license)\n\n## Installation\n\n### How to use\n\nThis repository is configured to support Flakes, an extra-experimental feature in the Nix package manager. To enable it, either append the following argument to every command involving flakes:\n\n```\nnix \u003ccommand\u003e --extra-experimental-features flakes\n```\n\nOr you can permanently enable it by setting this in your configuration.nix:\n\n```\nnix.settings.experimental-features = [ \"nix-command\" \"flakes\" ];\n```\n\n### Include in flake.nix\n\nTo use this custom package set, you will need to update your `flake.nix` to target `MatrixAI/nixpkgs-matrix` instead of `NixOS/nixpkgs`.\n\nExample configuration:\n\n```nix\n{\n  inputs = {\n    nixpkgs-matrix.url = \"github:MatrixAI/nixpkgs-matrix\";\n  };\n\n  outputs = inputs@{ nixpkgs-matrix, ... }:\n  let\n    username = \"myuser\";\n    hostname = \"myhostname\";\n    system = \"mysystem\";\n\n    pkgs = nixpkgs-matrix.legacyPackages.${system};\n  in\n  {\n    nixosConfigurations.${hostname} = nixpkgs-matrix.lib.nixosSystem {\n      specialArgs = { inherit inputs username hostname system; };\n      modules = [ ./configuration.nix ];\n    };\n  };\n}\n```\n\nDiff of typical flake configuration:\n\n```diff\ndiff --git a/old.nix b/new.nix\nindex c96b76d..a2d90f3 100644\n--- a/old.nix\n+++ b/new.nix\n@@ -1,20 +1,18 @@\n {\n   inputs = {\n-    nixpkgs.url = \"github:NixOS/nixpkgs\";\n+    nixpkgs-matrix.url = \"github:MatrixAI/nixpkgs-matrix\";\n   };\n \n-  outputs = inputs@{ nixpkgs, ... }:\n+  outputs = inputs@{ nixpkgs-matrix, ... }:\n   let\n     username = \"myuser\";\n     hostname = \"myhostname\";\n     system = \"mysystem\";\n \n-    pkgs = import nixpkgs {\n-      config.allowUnfree = true;\n-    };\n+    pkgs = nixpkgs-matrix.legacyPackages.${system};\n   in\n   {\n-    nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {\n+    nixosConfigurations.${hostname} = nixpkgs-matrix.lib.nixosSystem {\n       specialArgs = { inherit inputs username hostname system; };\n       modules = [ ./configuration.nix ];\n     };\n```\n\n## Development\n\nThis repository contains a few important files to look at when contributing to the project.\n\n- `flake.nix`- Contains the base definition for the flake package. Re-exports our modified package set as an output.\n- `packages.nix` - Custom packages are placed here. This needs to be done using `builtins.getFlake` and must provide a revision hash.\n\n### Project structure\n\n```\n/nixpkgs-matrix\n├── flake.nix - The primary flake file.\n└── packages.nix - This is where in-tree packages exist.\n```\n\n## License\n\nThes source code for this project is licensed under the Apache 2.0 License. You may find the conditions of the license [here](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixai%2Fnixpkgs-matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrixai%2Fnixpkgs-matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixai%2Fnixpkgs-matrix/lists"}