{"id":15171789,"url":"https://github.com/gregorykogan/dotfiles-nixos","last_synced_at":"2026-02-15T03:31:17.033Z","repository":{"id":237809218,"uuid":"795268036","full_name":"GregoryKogan/dotfiles-nixos","owner":"GregoryKogan","description":"My NixOS configuration files","archived":false,"fork":false,"pushed_at":"2024-05-08T15:16:22.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T02:49:27.691Z","etag":null,"topics":["nix","nix-flake","nixos","nixos-config","nixos-configuration","nixos-dotfiles","nixpkgs"],"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/GregoryKogan.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-05-02T23:19:28.000Z","updated_at":"2024-05-08T15:16:26.000Z","dependencies_parsed_at":"2024-10-11T00:20:31.869Z","dependency_job_id":"c3d76045-554b-48fb-9a53-6da98066c236","html_url":"https://github.com/GregoryKogan/dotfiles-nixos","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"2889294aff4999aa584482a061d14c9c8ebb6ae0"},"previous_names":["gregorykogan/dotfiles-nixos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GregoryKogan/dotfiles-nixos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fdotfiles-nixos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fdotfiles-nixos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fdotfiles-nixos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fdotfiles-nixos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GregoryKogan","download_url":"https://codeload.github.com/GregoryKogan/dotfiles-nixos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fdotfiles-nixos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278786690,"owners_count":26045588,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","nix-flake","nixos","nixos-config","nixos-configuration","nixos-dotfiles","nixpkgs"],"created_at":"2024-09-27T09:03:59.399Z","updated_at":"2025-10-07T13:50:45.237Z","avatar_url":"https://github.com/GregoryKogan.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles-nixos\n\n[![Hits-of-Code](https://hitsofcode.com/github/GregoryKogan/dotfiles-nixos?branch=main)](https://hitsofcode.com/github/GregoryKogan/dotfiles-nixos/view?branch=main)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/GregoryKogan/dotfiles-nixos/assets/60318411/65971b6a-0f2f-4886-b1df-331a14eedb91\" width=\"35%\" /\u003e\n\u003c/p\u003e\n\n## Installation\n\n**0. Install NixOS**\n\nIt's not recommended to get any desktop environment on initial installation of NixOS.\n\n**1. Install `git`**\n\nOpen default NixOS config file and add `git` to `packages`\n\n```shell\nsudo nano /etc/nixos/configuration.nix\n```\n\nRebuild the system\n\n```shell\nsudo nixos-rebuild switch\n```\n\n**2. Download configs**\n\n```shell\ngit clone https://github.com/GregoryKogan/dotfiles-nixos.git ~/nixos\n```\n\n**3. Rebuild the system**\n\nAvailabe `\u003chost\u003e` options:\n  - `vm` - UTM virtual machine\n\n```shell\nsudo nixos-rebuild switch --impure --flake ~/nixos#\u003chost\u003e\n```\n\n### Post install\n\nGenerate github ssh key and add it to your account\n\n```shell\ngithub-ssh\n```\n\nUpdate this repo to use ssh remote origin\n\n```shell\ngit remote set-url origin git@github.com:GregoryKogan/dotfiles-nixos.git\n```\n\n### Troubleshooting\n\n**Magic commands that sometimes fix weird errors**\n\nCollect garbage\n\n```shell\nnix-collect-garbage -d\n```\n\nRepair nix-store files (should be run as sudo)\n\n```shell\nnix-store --verify --check-contents --repair\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorykogan%2Fdotfiles-nixos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorykogan%2Fdotfiles-nixos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorykogan%2Fdotfiles-nixos/lists"}