{"id":13611069,"url":"https://github.com/numtide/nixpkgs-unfree","last_synced_at":"2025-04-06T01:06:25.499Z","repository":{"id":39708838,"uuid":"455593881","full_name":"numtide/nixpkgs-unfree","owner":"numtide","description":"nixpkgs with the unfree bits enabled","archived":false,"fork":false,"pushed_at":"2025-04-02T14:23:42.000Z","size":332,"stargazers_count":102,"open_issues_count":11,"forks_count":12,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-02T23:55:51.125Z","etag":null,"topics":["nix-flake"],"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/numtide.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":"2022-02-04T15:15:43.000Z","updated_at":"2025-03-23T02:06:28.000Z","dependencies_parsed_at":"2023-11-20T14:28:30.045Z","dependency_job_id":"8d9d2f98-ab11-4460-9eea-09d40d824463","html_url":"https://github.com/numtide/nixpkgs-unfree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnixpkgs-unfree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnixpkgs-unfree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnixpkgs-unfree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnixpkgs-unfree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtide","download_url":"https://codeload.github.com/numtide/nixpkgs-unfree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419859,"owners_count":20936012,"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":["nix-flake"],"created_at":"2024-08-01T19:01:51.478Z","updated_at":"2025-04-06T01:06:25.482Z","avatar_url":"https://github.com/numtide.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"# nixpkgs-unfree - nixpkgs with the unfree bits enabled\n\n**STATUS: alpha**\n\nThe [nixpkgs](https://github.com/NixOS/nixpkgs) project contains package\ndefinitions for free and unfree packages but only builds free packages. This\nproject is complementary. We're enabling the unfree bits and making the flake\nuse-case a bit easier to use.\n\nIn the future, we would also like to evolve this project to build and cache\nthe unfree packages.\n\n## Features\n\n### Nix run\n\nThanks to this flake, it's shorter to run unfree packages. Eg:\n\n```console\n$ nix run github:numtide/nixpkgs-unfree/nixos-unstable#slack\n```\n\nVs:\n\n```console\n$ NIXPKGS_ALLOW_UNFREE=1 nix run nixpkgs/nixos-unstable#slack --impure\n```\n\nSee the [supported channels](#supported-channels) section to find out which channels are being synched.\n\n### Flake usage\n\nIf your flake depends on unfree packages, you can point it to this\nproject to avoid creating more instances of nixpkgs. See\n\u003chttps://discourse.nixos.org/t/1000-instances-of-nixpkgs/17347\u003e for a more\nin-depth explanation of the issue.\n\nHere is how you can replace your instance of nixpkgs with unfree packages\nenabled:\n\n```nix\n{\n  inputs.nixpkgs.url = \"github:numtide/nixpkgs-unfree?ref=nixos-unstable\";\n\n  inputs.otherdep.url = \"github:otheruser/otherdep\";\n  inputs.otherdep.inputs.nixpkgs.follows = \"nixpkgs\";\n\n  outputs = { self, nixpkgs, ... }: { ... };\n}\n```\n\nOr, potentially, you might want to explicitly access unfree packages and have\na separate instance:\n\n```nix\n{\n  # The main nixpkgs instance\n  inputs.nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n\n  # The unfree instance\n  inputs.nixpkgs-unfree.url = \"github:numtide/nixpkgs-unfree\";\n  inputs.nixpkgs-unfree.inputs.nixpkgs.follows = \"nixpkgs\";\n\n  outputs = { self, nixpkgs, nixpkgs-unfree }: { ... };\n}\n```\n\n### Flake templates\n\nFor new flakes, you can use also use our templates like this:\n\n``` console\n$ nix flake init -t github:numtide/nixpkgs-unfree\n$ nix flake init -t github:numtide/nixpkgs-unfree#devShell # for mkShell based setup\n```\n\n### Synched channels\n\nThe following channels are synched daily with upstream:\n\n* nixos-unstable\n* nixpkgs-unstable\n* nixos-24.05\n\nLet us know if any other channel is needed.\n\n## FAQ\n\n### nixpkgs instances\n\nThis repository includes a trace warning for code that `import nixpkgs`.\n\nIf another input depends on it, you can bypass the warning by passing the\nreal nixpkgs to it.\n\nBefore:\n```nix\n{\n  inputs.nixpkgs.url = \"github:numtide/nixpkgs-unfree?ref=nixos-unstable\";\n\n  inputs.otherdep.url = \"github:otheruser/otherdep\";\n  inputs.otherdep.inputs.nixpkgs.follows = \"nixpkgs\";\n}\n```\n\nAssuming that \"otherdep\" creates a new instance of nixpkgs, change the inputs\nto:\n\n```nix\n{\n  inputs.nixpkgs.url = \"github:numtide/nixpkgs-unfree?ref=nixos-unstable\";\n\n  inputs.otherdep.url = \"github:otheruser/otherdep\";\n  inputs.otherdep.inputs.nixpkgs.follows = \"nixpkgs/nixpkgs\";\n}\n```\n\nWith that, it will access the same version of nixpkgs as the main project.\n\n## Credits\n\nThe first implementation of that idea was done by @domenkozar at\n\u003chttps://github.com/cachix/nixpkgs-unfree-redistributable\u003e.\n\n## Terms and Conditions\n\nAll the code in this repository is published under the MIT and will always\nremain under an OSI-compliant license.\n\nIf you're interested in supporting this project,\n[get in touch!](https://numtide.com/#contact).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Fnixpkgs-unfree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtide%2Fnixpkgs-unfree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Fnixpkgs-unfree/lists"}