{"id":15764568,"url":"https://github.com/visortelle/nix-playground","last_synced_at":"2025-06-15T19:09:17.922Z","repository":{"id":114889230,"uuid":"403343717","full_name":"visortelle/nix-playground","owner":"visortelle","description":"Just a repo for self-education, experiments, etc.","archived":false,"fork":false,"pushed_at":"2021-09-06T17:15:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T04:50:40.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visortelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-05T15:27:39.000Z","updated_at":"2021-09-06T17:16:46.000Z","dependencies_parsed_at":"2023-05-14T12:00:18.714Z","dependency_job_id":null,"html_url":"https://github.com/visortelle/nix-playground","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"d5fa3c2211658deb06ef17abd6bf22c8903662bc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visortelle%2Fnix-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visortelle%2Fnix-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visortelle%2Fnix-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visortelle%2Fnix-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visortelle","download_url":"https://codeload.github.com/visortelle/nix-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450539,"owners_count":20779438,"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":[],"created_at":"2024-10-04T12:04:07.107Z","updated_at":"2025-03-31T10:21:44.896Z","avatar_url":"https://github.com/visortelle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nix-test\n\nPossibly the best tutorial on Nix: \u003chttps://nixos.org/guides/nix-pills\u003e.\n\nZSH completion: \u003chttps://github.com/spwhitt/nix-zsh-completions\u003e.\n\n## Cheat sheet\n\n## REPL\n\nEnter REPL\n\n`nix repl`\n\nLoad nixpkgs\n\n`:l \u003cnixpkgs\u003e`\n\nBuild\n\n`:b `\n\n\n## CLI\n\nBuild\n\n`nix build`\n\nSearch package\n\n`nix-env -qP --available nodejs`\n\n`nix search nodejs`\n\nPretty-print deriviation\n\n`nix show-derivation /nix/store/9y4viy19cvi34dy43c9hmi2rrrnm5dgb-test.drv`\n\nAnalyze build dependencies\n\n```sh\n$ nix-instantiate default.nix\n/nix/store/21kj5jdnd04cz3labrf9p2q30vi70vhh-nodejs-project-a.drv\n$ nix-store -q --references /nix/store/21kj5jdnd04cz3labrf9p2q30vi70vhh-nodejs-project-a.drv\n/nix/store/67c32whv2pa8gfqxinjbzb3pshpfsgcl-bash-4.4-p23.drv\n/nix/store/sjj7icjqi6mhkzismr68jqlrq6hg500r-coreutils-8.32.drv\n/nix/store/076lzbdih4cdg6ri8w3kmpa191zvkrsl-nodejs-14.17.5.drv\n/nix/store/fyd9bif9sv5g6rfl3zh8k2s6nq1szpv7-nodejs-project-a\n/nix/store/lmh0zrm1pw5046hpi9cr95gz04c65ynd-nodejs-builder.sh\n```\n\nGC\n\n`nix-collect-garbage` and `nix-collect-garbage -d`\n\n## Omnomnoms\n\nImproved nix-shell - \u003chttps://github.com/nix-community/lorri\u003e\n\nEasy dependency management for Nix projects - \u003chttps://github.com/nmattia/niv/\u003e\n\nDocker compose - \u003chttps://github.com/hercules-ci/arion\u003e\n\nUtils\n\n\u003chttps://github.com/utdemir/nix-tree\u003e\n\n\u003chttps://github.com/symphorien/nix-du\u003e\n\n\u003chttps://github.com/craigmbooth/nix-visualize\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisortelle%2Fnix-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisortelle%2Fnix-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisortelle%2Fnix-playground/lists"}