{"id":17432106,"url":"https://github.com/0mp/dotfiles","last_synced_at":"2025-09-17T19:33:01.398Z","repository":{"id":65613513,"uuid":"47364474","full_name":"0mp/dotfiles","owner":"0mp","description":".foos for foos \u0026 more","archived":false,"fork":false,"pushed_at":"2023-06-14T12:58:41.000Z","size":851,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-01T09:01:45.995Z","etag":null,"topics":["bash","bashrc","configs","desktop","dotfiles","dwm","framework","freebsd","freebsd-scripts","lenovo","powerd","productivity","shell","st","tmux-conf","utilities","utility","vimrc","xorg","yoga"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/0mp.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":"2015-12-03T22:20:52.000Z","updated_at":"2025-07-15T10:48:41.000Z","dependencies_parsed_at":"2024-10-19T07:49:30.594Z","dependency_job_id":null,"html_url":"https://github.com/0mp/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0mp/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0mp","download_url":"https://codeload.github.com/0mp/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275649913,"owners_count":25503212,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"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":["bash","bashrc","configs","desktop","dotfiles","dwm","framework","freebsd","freebsd-scripts","lenovo","powerd","productivity","shell","st","tmux-conf","utilities","utility","vimrc","xorg","yoga"],"created_at":"2024-10-17T08:24:07.943Z","updated_at":"2025-09-17T19:33:01.374Z","avatar_url":"https://github.com/0mp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\n## FreeBSD\n\n```sh\n# dwm\nmkdir -p ${HOME}/h\ngit clone http://github.com/0mp/dwm ${HOME}/h/dwm\nmake -C ${HOME}/h/dwm clean dwm install\n\n# makaron\nmkdir -p ${HOME}\ngit clone --recursive https://github.com/0mp/makaron ${HOME}/h/makaron\nmake -C ${HOME}/h/makaron install\n\n# goat\nmkdir -p ${HOME}/h\ngit clone http://github.com/0mp/goat ${HOME}/h/goat\nmake -C ${HOME}/h/goat clean install\n```\n\n### mDNS\n\n```sh\npkg install avahi-app nss_mdns\nsysrc avahi_daemon_enable=\"YES\"\nsysrc dbus_enable=\"YES\"\nif ! grep -q \"hosts.*:.*mdns\" /etc/nsswitch.conf; then\n    tmp=\"$(mktemp)\" \u0026\u0026 \\\n    sed '/hosts/s/$/ mdns/' /etc/nsswitch.conf \u003e \"$tmp\" \u0026\u0026 \\\n    cat \"$tmp\" \u003e /etc/nsswitch.conf\n    rm \"$tmp\"\nfi\n```\n\nFinally, add `mdns` to the `hosts` line in `/etc/nsswitch.conf`.\n\n### Give less memory to ARC\n\n```\nsysctl vfs.zfs.arc_max=$(expr -- $(sysctl -n hw.physmem) / 2)\n```\n\n### lagg(4) configuration\n\n```\nsysrc ifconfig_em0=\"up\"\nsysrc wlans_iwm0=\"wlan0\"\nsysrc ifconfig_wlan0=\"WPA powersave\"\nsysrc create_args_wlan0=\"wlanaddr \\$(ifconfig em0 ether | awk '/ether/{print \\$2}') country de\"\nsysrc cloned_interfaces=\"lagg0\"\nsysrc ifconfig_lagg0=\"up laggproto failover laggport em0 laggport wlan0 DHCP\"\n```\n\n### Firefox\n\nMicrophone support: set `media.cubeb.backend` to `oss` in about:config. (https://forums.freebsd.org/threads/how-to-use-microphone-with-firefox.74292/#post-485968)\n\n## Git\n\nSample `~/.gitconfig.local`\n---------------------------\n\n```\n[includeIf \"gitdir:~/rust/\"]\n    path = ~/.gitconfig-rust\n```\n\n### Specifying how to reconcile divergent branches\n\n```\ngit config pull.rebase false  # merge (the default strategy)\ngit config pull.rebase true   # rebase                      \ngit config pull.ff only       # fast-forward only           \n```\n\n## macOS\n\nBootstrapping chezmoi:\n\n```\nconfiguration_file=\"$HOME/.config/chezmoi/chezmoi.toml\"\nsource_dir=\"/Volumes/D/dotfiles\"\nmkdir -p \"$(dirname \"$configuration_file\")\"\necho \"sourceDir = \\\"$source_dir\\\"\" \u003e \"$configuration_file\"\nchezmoi init 0mp\n```\n\n### Store SSH/GPG passphrases in macOS Keychain\n\n```\necho \"UseKeychain yes\" \u003e\u003e ~/.ssh/config\n```\n\n### Always show file extensions in Finder\n\nFinder has to restart for the setting to apply.\n\n```\ndefaults write NSGlobalDomain AppleShowAllExtensions -bool true\nkillall Finder\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mp%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0mp%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mp%2Fdotfiles/lists"}