{"id":26997126,"url":"https://github.com/rishabh5321/thorium_flake","last_synced_at":"2025-04-04T02:16:26.181Z","repository":{"id":282522315,"uuid":"948864008","full_name":"Rishabh5321/thorium_flake","owner":"Rishabh5321","description":"Nix Flake for Thorium Browser","archived":false,"fork":false,"pushed_at":"2025-04-02T22:19:46.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T23:24:58.944Z","etag":null,"topics":["chrome","linux","nix","nix-flake","nix-flakes","thorium","web-browser","webbrowser"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rishabh5321.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":"2025-03-15T05:57:22.000Z","updated_at":"2025-04-02T22:19:50.000Z","dependencies_parsed_at":"2025-04-02T23:22:14.029Z","dependency_job_id":"86928f9c-f54a-4662-8c3f-2da08f671203","html_url":"https://github.com/Rishabh5321/thorium_flake","commit_stats":null,"previous_names":["rishabh5321/thorium_flake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh5321%2Fthorium_flake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh5321%2Fthorium_flake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh5321%2Fthorium_flake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh5321%2Fthorium_flake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rishabh5321","download_url":"https://codeload.github.com/Rishabh5321/thorium_flake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107827,"owners_count":20884797,"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":["chrome","linux","nix","nix-flake","nix-flakes","thorium","web-browser","webbrowser"],"created_at":"2025-04-04T02:16:25.464Z","updated_at":"2025-04-04T02:16:26.167Z","avatar_url":"https://github.com/Rishabh5321.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thorium Flake\n\n[![NixOS](https://img.shields.io/badge/NixOS-supported-blue.svg)](https://nixos.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![flake_check](https://github.com/Rishabh5321/thorium_flake/actions/workflows/flake_check.yml/badge.svg)](https://github.com/Rishabh5321/thorium_flake/actions/workflows/flake_check.yml)\n\n\nThorium Nix Flake Documentation\n\nThis Nix Flake provides multiple versions of the Thorium browser, optimized for different CPU instruction sets. You can choose the version that best matches your CPU's capabilities for improved performance.\n\n\n## Table of Contents\n1. [Features](#features)\n2. [Installation](#installation)\n\n   - [Using the Flake Directly](#using-the-flake-directly)\n\n3. [Configuration](#configuration)\n4. [Contributing](#contributing)\n5. [License](#license)\n\n## Features\n- **Pre-built Thorium Package**: The flake provides a pre-built Thorium package for `x86_64-linux`.\n- **Contains all versions**: This flake contains all the supported version of Thorium select the best version for your computer.\n\n## Installation\n\n### Using the Flake Profiles\n\nYou can install this flake directly in declarative meathod.\n\n```bash\n# For AVX2 (modern CPUs)\nnix profile install github:Rishabh5321/thorium_flake#thorium-avx2\n\n# For AVX (older CPUs)\nnix profile install github:Rishabh5321/thorium_flake#thorium-avx\n\n# For SSE4 (legacy CPUs)\nnix profile install github:Rishabh5321/thorium_flake#thorium-sse4\n\n# For SSE3 (very old CPUs)\nnix profile install github:Rishabh5321/thorium_flake#thorium-sse3\n```\n\n### Integrating with NixOS declaratively.\n\n1. Ensure you have flakes enabled in your NixOS configuration.\n\n2. Add this flake to your `flake.nix`:\n\n   ```nix\n   {\n     inputs = {\n        nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\"; # Note that nixos unstable channel is required\n        thorium.url = \"github:Rishabh5321/thorium_flake\";\n     };\n\n     outputs = { self, nixpkgs }: {\n       # Your existing configuration...\n       \n       nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {\n         # ...\n         modules = [\n           # Add inputs.thorium.packages.${system}.thorium-version you want to install only choose one\n          ({ pkgs, ... }: {\n            environment.systemPackages = [ \n              inputs.thorium.packages.\"x86_64-linux\".thorium-avx2    # change avx2 for the version you want to install\n            ];\n          })\n         ];\n       };\n     };\n   }\n   ```\n\n3. Run `sudo nixos-rebuild switch` to apply the changes. It can also be registered with home manager\n\n### Contributing\n\nContributions to this flake are welcome! Here’s how you can contribute:\n1. Fork the repository.\n2. Create a new branch for your changes:\n```bash\ngit checkout -b my-feature\n```\n3. Commit your changes:\n```bash\ngit commit -m \"Add my feature\"\n```\n4. Push the branch to your fork:\n```bash\ngit push origin my-feature\n```\n5. Open a pull request on GitHub.\n\n### License\nThis flake is licensed under the MIT License. Thorium itself is licensed under the BSD 3-Clause License.\n\n### Acknowledgments\n- [Thorium](https://github.com/Alex313031/thorium) Chromium fork for linux named after radioactive element No. 90.\n- The NixOS community for their support and resources.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh5321%2Fthorium_flake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabh5321%2Fthorium_flake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh5321%2Fthorium_flake/lists"}