{"id":19968353,"url":"https://github.com/floydspace/dotfiles","last_synced_at":"2026-05-15T07:31:28.277Z","repository":{"id":260806659,"uuid":"882357294","full_name":"floydspace/dotfiles","owner":"floydspace","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-03T11:04:09.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-03T14:18:27.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","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/floydspace.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-11-02T16:03:09.000Z","updated_at":"2026-03-03T11:04:13.000Z","dependencies_parsed_at":"2024-11-20T06:30:46.245Z","dependency_job_id":"9746056d-3776-48d0-9ddf-d9716a05fa15","html_url":"https://github.com/floydspace/dotfiles","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"053ab79ec0b0d2651c3939118ca5786ac2c93057"},"previous_names":["floydspace/dotfiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/floydspace/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floydspace","download_url":"https://codeload.github.com/floydspace/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33057823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":[],"created_at":"2024-11-13T02:45:34.273Z","updated_at":"2026-05-15T07:31:28.264Z","avatar_url":"https://github.com/floydspace.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"Install `nix` and `nix-darwin`:\n\n```sh\n# 1. Optionally, set the path to your custom certificate\nexport NIX_INSTALLER_SSL_CERT_FILE=/path/to/your/certificate.pem\n\n# 2. Install `nix` with determinate.systems installer\ncurl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install\n\n# 3. Install `nix-darwin` with flake\nnix run nix-darwin -- switch --flake \".#MacBookM2Pro\"\n```\n\nHow to apply nix-darwin configuration:\n\n```sh\ndarwin-rebuild switch --flake \".#MacBookM2Pro\"\n```\n\nUpdate packages:\n    \n```sh\nnix flake update\n\ndarwin-rebuild switch --flake \".#MacBookM2Pro\"\n```\n\nCleanup unused packages:\n\n```sh\nnix-collect-garbage -d\n```\n\n## Troubleshooting\n\n- Failed to recognize my M2 Pro Macbook system architecture:\n  ```sh\n  error: a 'aarch64-darwin' with features {} is required to build '/nix/store/31l4y3kn5cf5a9xpp4q65rkpdm0kx2sr-activate-system-start.drv', but I am a 'x86_64-darwin' with features {apple-virt, benchmark, big-parallel, nixos-test}\n  ```\n  It happened on my M2 Pro Macbook. I had to explicitly set the `system` to `aarch64-darwin` in `/etc/nix/nix.conf`\n\n- Failed to download from remote due to certificate error:\n  ```sh\n  warning: error: unable to download 'https://cache.nixos.org/8n8a23azcm8smr1q6xk77jb2pgxa518f.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 310 ms\n  ```\n  I had to explicitly set the path to my employer's certificate (which is enforced or my laptop) as `ssl-cert-file` in `/etc/nix/nix.conf` and as `NIX_SSL_CERT_FILE` in `/Library/LaunchDaemons/org.nixos.nix-daemon.plist`.\n\n  Then, I had to restart the `nix-daemon` service:\n  ```sh\n  sudo launchctl kickstart -k system/org.nixos.nix-daemon\n  ```\n\n## References\n\n- [Nix-Darwin Fresh Install guide](https://github.com/MatthiasBenaets/nix-config/blob/master/darwin.org) by [Matthias Benaets](https://github.com/MatthiasBenaets)\n- [Determinate Nix Installer](https://github.com/DeterminateSystems/nix-installer)\n- [nix-darwin](https://github.com/LnL7/nix-darwin)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydspace%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloydspace%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydspace%2Fdotfiles/lists"}