{"id":13512032,"url":"https://github.com/nmattia/homies","last_synced_at":"2025-04-06T02:12:22.886Z","repository":{"id":94700836,"uuid":"124574311","full_name":"nmattia/homies","owner":"nmattia","description":"home dir \u0026 package management","archived":false,"fork":false,"pushed_at":"2025-03-15T12:19:44.000Z","size":274,"stargazers_count":112,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T01:12:37.043Z","etag":null,"topics":["dotfiles","environment","linux","macos","nix"],"latest_commit_sha":null,"homepage":"http://nmattia.com/posts/2018-03-21-nix-reproducible-setup-linux-macos.html","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/nmattia.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":"2018-03-09T17:48:13.000Z","updated_at":"2025-03-15T12:19:47.000Z","dependencies_parsed_at":"2024-03-06T14:29:15.028Z","dependency_job_id":"e969d945-adbf-49b7-b528-fe4bbeb0ebe9","html_url":"https://github.com/nmattia/homies","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/nmattia%2Fhomies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmattia%2Fhomies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmattia%2Fhomies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmattia%2Fhomies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmattia","download_url":"https://codeload.github.com/nmattia/homies/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423516,"owners_count":20936626,"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","environment","linux","macos","nix"],"created_at":"2024-08-01T03:01:25.942Z","updated_at":"2025-04-06T02:12:22.858Z","avatar_url":"https://github.com/nmattia.png","language":"Nix","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# Homies\n\n\u003cimg src=\"homies.png\" alt=\"homies\" style=\"width: 200px;\"/\u003e\n\nReproducible set of dotfiles and packages for Linux and macOS\n\n---\n\nInstall with `nix profile install`. Update your `~/.zshrc`:\n\n``` zsh\nif [ -f $HOME/.nix-profile/share/zshrc/zshrc ]; then source $HOME/.nix-profile/share/zshrc/zshrc; fi\n```\n\nThe homies will be available in all subsequent shells, including the\ncustomizations (vim with my favorite plugins, tmux with my customized\nconfiguration, etc). See the [introduction blog post][post] for an overview.\n\n[post]: https://nmattia.com/posts/2018-03-21-nix-reproducible-setup-linux-macos.html\n\n## How-To\n\nInstalling the package set:\n\n``` shell\n$ nix profile install\n```\n\nUpdating the packages:\n\n```shell\n$ nix flake update # alternative: nix flake lock --update-input \u003cmy-input\u003e\n```\n\nTry out the new packages:\n\n```shell\n$ nix develop\n```\n\nUpgrading to the new profile:\n\n``` shell\n$ nix profile upgrade homies # or list more with \"nix profile list\"\n```\n\nSyncing apps for Spotlight indexing:\n\n```\n$ rsync --archive --checksum --delete --chmod=-w ~/.nix-profile/Applications/ ~/Applications/homies-apps/ \u0026\u0026 chmod -R +w ~/Applications/homies-apps \u0026\u0026 codesign --remove-signature ~/Applications/homies-apps/kitty.app \u0026\u0026 codesign --force --deep --sign - ~/Applications/homies-apps/kitty.app\n```\n\n\u003e **Note**\n\u003e We copy the app to make sure Spotlight picks it up. Creating a (Finder) alias does work too, but\n\u003e the alias is given much lower priority in Spotlight search and the app appears way below e.g.\n\u003e online searches, files, etc.\n\nListing the previous and current configurations:\n\n``` shell\n$ nix profile history\n```\n\nDeleting old configurations:\n\n``` shell\n$ nix profile wipe-history\n```\n\nEnsure build is sandboxed:\n```\n# /etc/nix/nix.conf\nbuild-users-group = nixbld\n# /Library: cc is installed in /Library/Developer (and used from /usr/bin\n/cc and others)\n# /System/Library: needed for system-wide Perl\nsandbox-paths = /bin/bash /bin /usr/bin /usr/sbin /Library /System/Library\nsandbox = true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmattia%2Fhomies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmattia%2Fhomies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmattia%2Fhomies/lists"}