{"id":17528596,"url":"https://github.com/itsdalmo/dotfiles","last_synced_at":"2025-04-23T18:23:27.638Z","repository":{"id":17064046,"uuid":"64595521","full_name":"itsdalmo/dotfiles","owner":"itsdalmo","description":"My setup for development on OS X.","archived":false,"fork":false,"pushed_at":"2024-05-22T14:02:05.000Z","size":27319,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-22T15:17:33.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","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/itsdalmo.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":"2016-07-31T13:36:24.000Z","updated_at":"2024-05-29T10:59:16.760Z","dependencies_parsed_at":"2024-05-21T15:11:48.171Z","dependency_job_id":"8de9737d-5aff-4636-a555-ee2975d479fd","html_url":"https://github.com/itsdalmo/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/itsdalmo%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsdalmo","download_url":"https://codeload.github.com/itsdalmo/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250488274,"owners_count":21438754,"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-20T15:44:19.249Z","updated_at":"2025-04-23T18:23:27.618Z","avatar_url":"https://github.com/itsdalmo.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\nMy setup for development on macOS (and NixOS).\n\n## Installation\n\n### MacOS\n\n```sh\n# Run the bootstrap script\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/itsdalmo/dotfiles/refs/heads/master/scripts/bootstrap_macos.sh)\"\n\n# Run the initial install\nnix run nix-darwin -- switch --flake github:itsdalmo/dotfiles#dalmobook\n\n# Afterwards we can use darwin-rebuild directly\ndarwin-rebuild switch --flake github:itsdalmo/dotfiles#dalmobook\n```\n\nAfter rebooting, complete the following manual steps:\n\n- System settings:\n  - `Displays \u003e Night Shift \u003e Schedule: Sunset to Sunrise`\n  - `Sound \u003e Show volume in menu bar`\n  - Enable \"stacks\" on the desktop.\n\n### NixOS\n\n```sh\n# Run the bootstrap script\nnix-shell -p curl --run /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/itsdalmo/dotfiles/refs/heads/master/scripts/bootstrap_nixos.sh)\"\n\n# Run the initial install with a reboot\nnixos-rebuild boot --flake github:itsdalmo/dotfiles#nixos-vm \u0026\u0026 reboot\n\n# Do normal rebuilds to update\nsudo nixos-rebuild switch --flake github:itsdalmo/dotfiles#nixos-vm\n```\n\n### VM (NixOS)\n\n```sh\n# Create the vm\n./scripts/vm.sh create ~/Desktop/isos/nixos-minimal-24.05.6668.e8c38b73aeb2-aarch64-linux.iso\n\n# Install nixos (after you have manually set the root password)\n./scripts/vm.sh install\n\n# Rebuild and reboot\n./scripts/vm.sh rebuild-and-reboot\n\n# Rebuild on updates\n./scripts/vm.sh rebuild\n```\n\n## Comparing generations\n\nIn order to compare generations we can first build the derivation and then look at the diff:\n\n```sh\n# Build the derivation\ndarwin-rebuild build --flake .#dalmobook\n\n# Compare with the current system\nnix store diff-closures /run/current-system ./result\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdalmo%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdalmo%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdalmo%2Fdotfiles/lists"}