{"id":13578489,"url":"https://github.com/benmezger/dotfiles","last_synced_at":"2025-04-06T09:07:04.440Z","repository":{"id":45793593,"uuid":"175667076","full_name":"benmezger/dotfiles","owner":"benmezger","description":"My collection of dotfiles","archived":false,"fork":false,"pushed_at":"2025-03-29T15:15:50.000Z","size":10555,"stargazers_count":110,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T16:24:33.936Z","etag":null,"topics":["archlinux","chezmoi","config","dotfiles","emacs","i3","neomutt","nix","nixos","osx","shell","tmux","unix","vim"],"latest_commit_sha":null,"homepage":"","language":"Python","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/benmezger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-03-14T17:15:26.000Z","updated_at":"2025-03-29T15:15:53.000Z","dependencies_parsed_at":"2023-12-18T21:32:44.902Z","dependency_job_id":"4fe607b5-147f-4ad8-b1d5-ae8b584a0562","html_url":"https://github.com/benmezger/dotfiles","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmezger%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmezger%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmezger%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmezger%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benmezger","download_url":"https://codeload.github.com/benmezger/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457799,"owners_count":20941906,"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":["archlinux","chezmoi","config","dotfiles","emacs","i3","neomutt","nix","nixos","osx","shell","tmux","unix","vim"],"created_at":"2024-08-01T15:01:31.082Z","updated_at":"2025-04-06T09:07:04.419Z","avatar_url":"https://github.com/benmezger.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## Personal Setup\n**👷 Note:** I am working on refactoring the structure to introduce my Nix\nconfiguration along with my dotfiles. You can get my `dotfiles` on the\n[chezmoi](./chezmoi) directory. Meanwhile, many nix-related stuff can change.\n\n### Requirements\n\n- Chezmoi\n- Arch Linux, NixOS, or MacOS\n\n### Installation\n\n#### Without NixOS\n\n**⚠️ Note:** _If you're not me, you won't have access to my 1Password account. To\nprevent chezmoi from applying files with secrets, set the `SECRETS_OFF=1`\nenvironment variable. If you do not use this flag, chezmoi will fail when\nattempting to connect to my 1Password account ¯\\_(ツ)_/¯._\n\n```shell\nSECRETS_OFF=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfiles\n```\n\n#### With NixOS\n\nThis method is guaranteed to work out of the box since `chezmoi` will not\nattempt to download all dependencies. To install my NixOS configuration, run the\nfollowing command:\n\n```shell\nsudo nixos-rebuild switch --flake .#default\n```\n\n#### With nix-darwin\n**⚠️ Note:** _Darwin support is still WIP_\n\nTo install my nix configuration on the OSX, run the following command:\n\n```shell\nnix run nix-darwin -- switch --flake .\n```\n\n### Environment Variables\n\nThe following environment variables can be used to configure `chezmoi` during\ninitialization and when applying changes:\n\n- `ASK`: Set to `1` to enable prompts in `chezmoi`.\n- `SECRETS_OFF`: Set to `1` to disable 1Password integration (uses my personal\n  secrets defined in `.chezmoi.yaml`).\n- `DOTFILES_MINIMAL`: Set to `1` to install the minimal version of the dotfiles.\n- `WORKCONF`: Set to `1` to enable work-related configurations (e.g., work\n  email, etc.).\n\nFor example, run `ASK=1 chezmoi apply` to enable prompts or `DOTFILES_MINIMAL=1\nchezmoi apply` to generate the minimal configuration.\n\n## Troubleshooting\n\n### Chezmoi Is Not Reloading the Configuration\n\nRun `chezmoi init \u003cdotfiles-path\u003e` again. This will reload the configuration by\nregenerating [chezmoi.yaml](.chezmoi.yaml.tmpl) in\n`$HOME/.config/chezmoi/chezmoi.yaml`.\n\n### Sourcing Environment Variables With i3\n\nFor some reason, i3 sources `.xprofile` instead of `.xinitrc`. To get the GitHub\nplugin for [i3status-rust](dot_config/i3/status.toml) to work, you need to set a\nvariable in your `.xprofile`:\n\n```shell\nexport I3RS_GITHUB_TOKEN=\"your-github-token\"\n```\n\n## Screenshots\n\n### macOS\n\n![](./static/osx-screenshot.png)\n\n### Arch Linux\n\n![](./static/arch-screenshot.png)\n\n### Weechat IRC\n\n![](./static/weechat.png)\n\n### Emacs\n\n![](./static/emacs.png)\n\n## Contributing\n\n1. Feel free to contribute and/or report any issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmezger%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmezger%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmezger%2Fdotfiles/lists"}