- Notifications
You must be signed in to change notification settings - Fork2
0mp/dotfiles
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# dwmmkdir -p${HOME}/hgit clone http://github.com/0mp/dwm${HOME}/h/dwmmake -C${HOME}/h/dwm clean dwm install# makaronmkdir -p${HOME}git clone --recursive https://github.com/0mp/makaron${HOME}/h/makaronmake -C${HOME}/h/makaron install# goatmkdir -p${HOME}/hgit clone http://github.com/0mp/goat${HOME}/h/goatmake -C${HOME}/h/goat clean install
pkg install avahi-app nss_mdnssysrc avahi_daemon_enable="YES"sysrc dbus_enable="YES"if! grep -q"hosts.*:.*mdns" /etc/nsswitch.conf;then tmp="$(mktemp)"&& \ sed'/hosts/s/$/ mdns/' /etc/nsswitch.conf>"$tmp"&& \ cat"$tmp"> /etc/nsswitch.conf rm"$tmp"fi
Finally, addmdns
to thehosts
line in/etc/nsswitch.conf
.
sysctl vfs.zfs.arc_max=$(expr -- $(sysctl -n hw.physmem) / 2)
sysrc ifconfig_em0="up"sysrc wlans_iwm0="wlan0"sysrc ifconfig_wlan0="WPA powersave"sysrc create_args_wlan0="wlanaddr \$(ifconfig em0 ether | awk '/ether/{print \$2}') country de"sysrc cloned_interfaces="lagg0"sysrc ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
Microphone support: setmedia.cubeb.backend
tooss
in about:config. (https://forums.freebsd.org/threads/how-to-use-microphone-with-firefox.74292/#post-485968)
[includeIf "gitdir:~/rust/"] path = ~/.gitconfig-rust
git config pull.rebase false # merge (the default strategy)git config pull.rebase true # rebase git config pull.ff only # fast-forward only
Bootstrapping chezmoi:
configuration_file="$HOME/.config/chezmoi/chezmoi.toml"source_dir="/Volumes/D/dotfiles"mkdir -p "$(dirname "$configuration_file")"echo "sourceDir = \"$source_dir\"" > "$configuration_file"chezmoi init 0mp
echo "UseKeychain yes" >> ~/.ssh/config
Finder has to restart for the setting to apply.
defaults write NSGlobalDomain AppleShowAllExtensions -bool truekillall Finder