{"id":19323131,"url":"https://github.com/orzklv/nix","last_synced_at":"2025-04-22T19:32:12.084Z","repository":{"id":198875312,"uuid":"701713133","full_name":"orzklv/nix","owner":"orzklv","description":"❄️ | *NIX configuration flake hosted on GitHub ","archived":false,"fork":false,"pushed_at":"2025-04-18T14:47:31.000Z","size":2816,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T15:09:24.568Z","etag":null,"topics":["config","dotfiles","dots","nix"],"latest_commit_sha":null,"homepage":"github:orzklv/nix","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/orzklv.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":"2023-10-07T10:49:58.000Z","updated_at":"2025-04-18T01:55:28.000Z","dependencies_parsed_at":"2024-02-07T07:27:42.525Z","dependency_job_id":"0f7a7580-3388-4485-b4c4-c2caf1186c9d","html_url":"https://github.com/orzklv/nix","commit_stats":null,"previous_names":["orzklv/nix"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orzklv%2Fnix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orzklv%2Fnix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orzklv%2Fnix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orzklv%2Fnix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orzklv","download_url":"https://codeload.github.com/orzklv/nix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250308527,"owners_count":21409287,"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":["config","dotfiles","dots","nix"],"created_at":"2024-11-10T01:45:10.459Z","updated_at":"2025-04-22T19:32:12.058Z","avatar_url":"https://github.com/orzklv.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\".github/assets/header.png\" alt=\"Orzklv's {Nix}\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ch3 align=\"center\"\u003eMy nix configurations for all my NixOS \u0026 Apple machines.\u003c/h3\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg align=\"center\" src=\"https://img.shields.io/github/languages/top/orzklv/nix?style=flat\u0026logo=nixos\u0026logoColor=ffffff\u0026labelColor=242424\u0026color=242424\" alt=\"Top Used Language\"\u003e\n    \u003ca href=\"https://t.me/orzklvb\"\u003e\u003cimg align=\"center\" src=\"https://img.shields.io/badge/Chat-grey?style=flat\u0026logo=telegram\u0026logoColor=ffffff\u0026labelColor=242424\u0026color=242424\" alt=\"Telegram Channel\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/orzklv/nix/actions/workflows/test.yml\"\u003e\u003cimg align=\"center\" src=\"https://img.shields.io/github/actions/workflow/status/orzklv/nix/test.yml?style=flat\u0026logo=github\u0026logoColor=ffffff\u0026labelColor=242424\u0026color=242424\" alt=\"Test CI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nIn this repository I keep all my configurations and dot files to maintain my healthy development environment for any case. It contains configurations\nfor shell and environments for any linux distro and macos. It comes with installer to shorten my time spending on set up.\n\n\u003e Everytime I installed my dev env manually by myself, I started feeling like a garbage myself... So here you are!\n\n## Features\n\n- Syntax Highlighting\n- Auto Completions\n- Auto Suggestions\n- Rust made replacements\n- Key configurations\n- Software configurations\n- Selfmade scripts\n\n## Install Nix\n\nBefore installing my configuration, we need to get nix ready in our machine. We could have used official installer, but due to many reasons, I prefer going with installer by [determinate.systems](https://determinate.systems/oss/).\n\n```shell\ncurl --proto '=https' --tlsv1.2 -sSf -L \\\n  https://install.determinate.systems/nix | sh -s -- install\n```\n\n## Install Homebrew (if it's nix-darwin) configurations\n\nBasically, we will go with official way of installing homebrew to get nix-darwin configurations working:\n\n```shell\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\n\n## Install my configurations\n\n### NixOS configurations\n\nI've written ready configurations for my machines that are using NixOS, so here you are:\n\n```shell\n# Station (Home Gaming)\nsudo nixos-rebuild switch --flake github:orzklv/nix#Guts --upgrade\n\n# Experimental (Work PC)\nsudo nixos-rebuild switch --flake github:orzklv/nix#Experimental --upgrade\n```\n\nIf you're planning to do clean install within Nix installer iso, do this:\n\n```shell\n# Clone the repository\ngit clone https://github.com/orzklv/nix.git config\n\n# Partition disks regarding to configuration\n# Replace ? with available hostname\nsudo nix --experimental-features \"nix-command flakes\" run github:nix-community/disko/latest -- --mode disko ./config/nixos/?/disk-configuration.nix\n\n# Install using flake configurations on top of partitioned disks\n# Replace ? with available hostname\nsudo nixos-install --flake ./config#?\n```\n\n### Darwin configurations\n\nThe same actually goes for my Darwin machines as well, everything is ready for setup:\n\n```shell\n# MacBook Pro\nnix run nix-darwin -- switch --flake github:orzklv/nix#Sokhibjons-MacBook-Pro # or\ndarwin-rebuild switch --flake github:orzklv/nix#Sokhibjons-MacBook-Pro\n\n# Mac Studio\nnix run nix-darwin -- switch --flake github:orzklv/nix#Sokhibjons-Mac-Studio # or\ndarwin-rebuild switch --flake github:orzklv/nix#Sokhibjons-Mac-Studio\n```\n\n\u003e If you hit GitHub's rate limit, put your GitHub token in `~/.config/nix/nix.conf` file like this:\n\u003e\n\u003e ```conf\n\u003e access-tokens = github.com=\u003cYOUR_TOKEN\u003e\n\u003e ```\n\n## Thanks\n\n- [Template](https://github.com/Misterio77/nix-starter-configs) - Started with this template\n- [Example](https://github.com/Misterio77/nix-config) - Learned from his configurations\n- [Home Manager](https://github.com/nix-community/home-manager) - Simplyifying my life and avoid frustrations\n- [Nix](https://nixos.org/) - Masterpiece of package management\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](license) file for details.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\".github/assets/footer.png\" alt=\"Orzklv's {Nix}\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forzklv%2Fnix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forzklv%2Fnix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forzklv%2Fnix/lists"}