{"id":13761313,"url":"https://github.com/hardselius/dotfiles","last_synced_at":"2025-05-10T12:31:34.890Z","repository":{"id":2909096,"uuid":"47859744","full_name":"hardselius/dotfiles","owner":"hardselius","description":"My personal dotfiles","archived":false,"fork":false,"pushed_at":"2025-03-01T20:52:21.000Z","size":3139,"stargazers_count":81,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-01T21:27:07.008Z","etag":null,"topics":["dotfiles","flakes","home-manager","nix","nix-darwin","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/hardselius.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":"2015-12-12T01:42:07.000Z","updated_at":"2025-02-08T20:45:30.000Z","dependencies_parsed_at":"2023-09-24T02:52:05.995Z","dependency_job_id":"dc6719b4-9574-4d3e-b224-7fa332cbc179","html_url":"https://github.com/hardselius/dotfiles","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/hardselius%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardselius%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardselius%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardselius%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardselius","download_url":"https://codeload.github.com/hardselius/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253415508,"owners_count":21904870,"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":["dotfiles","flakes","home-manager","nix","nix-darwin","nix-flake"],"created_at":"2024-08-03T13:01:48.730Z","updated_at":"2025-05-10T12:31:34.571Z","avatar_url":"https://github.com/hardselius.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"[![Build Nix environments](https://github.com/hardselius/dotfiles/actions/workflows/ci.yml/badge.svg)](https://github.com/hardselius/dotfiles/actions/workflows/ci.yml)\n\n# Martin's dotfiles and Nix config\n\n\u003e These are my dotfiles. There are many like them, but these are mine.\n\n## Bootstrapping a new machine\n\nOn a new mac, you might need to install `git`.\n\n```\nxcode-select --install\n```\n\nVerify the installation by running\n\n```\nxcode-select -p\n```\n\nshould output the following\n\n```\n/Library/Developer/CommandLineTools\n```\n\nClone this repo. It might be a good idea to clone using HTTPS if you\ndon’t have your SSH keys configured. I store my SSH key on a Yubikey for\nportability but that setup relies on some of the stuff that’s configured\nin here. HTTPS is a safe bet. You can always fix your local git config\nlater on using something like\n\n```\ngit config url.git@github.com:.insteadof https://github.com/\n```\n\n### Install `nix` on macOS\n\nIn order to perform a multi-user install of `nix` on macOS, follow these\nsteps.\n\nThe first order of business is to make sure `diskutil` is in your\n`$PATH`. If it isn’t, execute\n\n```\nexport PATH=/usr/sbin:$PATH\n```\n\nto add it. Now you can go ahead and run the installer\n\n```\nsh \u003c(curl -L https://nixos.org/nix/install) --daemon\n```\n\nThis should take you throught the process in a nice and straight-forward\nway. Once the installation finishes, you can verify it by opening a new\nterminal, and executing\n\n```\nnix-shell -p nix-info --run \"nix-info -m\"\n```\n\nIt’s possible that this won’t work straight away, and you may get\nsomething like\n\n```\nerror: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted\n```\n\nDon’t worry. The issue is very likely that the `nix-daemon` isn’t up and\nrunning just yet. Give it a few seconds and try again.\n\n### Flakes\n\nWith Nix installed, we’re ready to bootstrap and install the actual\nconfiguration. Flakes is finally supported in the latest versions of\nNix, so from the root of the checkout out repo we should be able to go\nahead and run\n\n```\nnix build \\\n\t--extra-experimental-features nix-command \\\n\t--extra-experimental-features flakes \\\n\t.#darwinConfigurations.bootstrap-x86.system\n./result/sw/bin/darwin-rebuild switch --flake .#bootstrap-x86\n```\n\nThen open up a new terminal session and run\n\n```\ndarwin-rebuild switch --flake .#macbook\n```\n\nTada! Everything should be installed and ready to go.\n\n## Links\n\n- [nix-darwin](https://github.com/LnL7/nix-darwin)\n- [Home Manager](https://github.com/nix-community/home-manager)\n- [YubiKey Guide](https://github.com/drduh/YubiKey-Guide)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardselius%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardselius%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardselius%2Fdotfiles/lists"}