Repository navigation
FreeBSD
- Figure out how to install 1Password Desktop on FreeBSD - or migrate to using KeepassXC desktop and it's browser extension
- Figure out how to install
blink.cmpbinary - Create
nodeissue inmise - Create
openjdkissue inmise - Create
chezmoiissue related to.chezmoi.osand.chezmoi.osReleasevariables not working withFreeBSD - Fix whatever the issue is with
vim-gutentags
- To scroll in console history, press
Fn+sto enter Scroll Lock mode and then use the up and down arrow keys to scroll through history. - To exit scroll lock, press
Fn+sagain
- To copy, select text with mouse and press middle button on touchpad
- To paste,
Shift+Insert
Install sudo package
$ su
# pkg install sudo
Enable wheel users to execute any command as root:
# vi /usr/local/etc/sudoersUncomment this line:
# %wheel ALL=(ALL:ALL) ALLExit root shell:
exitMake user owner of /home/<user> folder if not already:
sudo chown -R drew /home/drewsudo pkg install jetbrains-mono
fc-cache # just in case manual refresh necessaryInstall vim and wl-clipboard for initial edits
sudo pkg install vimInstall Intel graphics modules
sudo pkg install drm-kmodAdd the module to /etc/rc.conf:
sudo sysrc kld_list+=i915kmsInstall X.org server:
sudo pkg install xorgInstall wayland and seatd:
sudo pkg install wayland seatdNOTE: May need to update XDG_RUNTIME_DIR to below
# Previously: XDG_RUNTIME_DIR=/var/run/xdg/drew
export XDG_RUNTIME_DIR=/var/run/user/$(id -u)Start the seatd daemon now, and enable to run on startup.
sudo sysrc seatd_enable="YES"
sudo sysrc dbus_enable="YES"
sudo service seatd startInstall sway and other dependencies:
NOTE: Is
dmenunecessary?
pkg install sway waybar pavucontrol swayrbar swayidle swayr sway-audio-idle-inhibit swaylock-effects alacritty wmenuAdd my user to the video group
pw groupmod video -m drewCreate sway configuration:
mkdir ~/.config/sway
cp /usr/local/etc/sway/config ~/.config/swayInstall browser:
sudo pkg install firefoxcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstall nightly:
rustup toolchain install nightlySet it as the default toolchain:
rustup default nightlycargo install --locked cargo-binstallcargo install --locked cargo-updatecargo binstall tree-sitter-clicargo install --locked mergirafcargo binstall miseInstall core dependencies for building ruby:
pkg install devel/autoconf devel/bison devel/patch lang/gcc databases/gdbm devel/gmake devel/libffi textproc/libyaml devel/ncurses security/openssl devel/readlinecurl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /usr/binInstalls chezmoi into /usr/local/bin, downloads dotfiles, and symlinks them to target directory ($HOME)
cd /usr/local || exit
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply Drew-DanielsInstall other core dependencies
pkg install \
wget \
jq \
git \
git-credential-oauth \
neovim \
wl-clipboard \
ripgrep \
git-delta \
fish \
fzf \
fd-find \
bat \
bat-extras \
ctags \
tmux \
automake \
zoxide \
yq \
dust \
rofi \
librespeed-cli \
feh \
xmlstarlet \
nmap \
openvpn \
wireguard-tools \
plocate \
foliate \
neomutt \
nvme-cli \
obs-studio \
direnv \
gitleaks \
weechat \
hexyl \
qutebrowser \
gh \
glab \
ncmpcpp \
libmpd \
qt6ct \
mpv \
usbutils \
strawberry \
lsd \
hs-pandoc \
zathura-pdf-mupdf \
mumble \
qalculate-qt \
isync \
py311-urlscan \
msmtp \
abook \
tree-sitter \
llvm20 \
cheese \
ImageMagick7 \
difftastic \
libreoffice \
yazi \
jdtls \
1password-client \
keepassxc \
jless \
viuNOTE:
jdtlsnot available in FreeBSD Packages
Install runtime and compatible npm
sudo pkg install node22 npm-node22Install global dependencies:
sudo npm i -g \
pnpm \
jgit \
fsh-sushi \
gofsh \
oclif \
tree-sitter-cli \
yarn \
nx \
@nestjs/cli \
json-sort-cli \
vim-language-server \
@olrtg/emmet-language-server \
@microsoft/compose-language-service \
live-server \
eslint_d \
@fsouza/prettierd \
vscode-langservers-extracted \
vue-language-server \
tailwindcss-language-server \
bash-language-server \
dockerfile-language-server-nodejs \
yaml-language-server \
typescript-language-serversudo pkg install openjdk21sudo pkg install node22 npm-node-22sudo pkg install denomise installElectrum Bitcoin wallet
sudo pkg install py311-electrumAdd user to operator group (for hardware wallet support)
pw groupmod operator -m drewEdit configuration
vim /usr/local/etc/devd/hardware_wallet.confRestart devd to load the new rules
/etc/rc.d/devd restartStart webcamd automatically at system startup:
sudo sysrc webcamd_enable=YESRestart devd to start webcam:
sudo service devd restartAdd user to the webcamd group
sudo pw groupmod webcamd -m drew