Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 1.55 KB

README.md

File metadata and controls

99 lines (68 loc) · 1.55 KB

Balthild's dotfiles

Managed with dotter.

Deploy

Prepare the environment:

# macOS
nix-shell -p git dotter
# Windowws
scoop install git dotter

Clone the repository to ~/.dotfiles:

cd ~
git clone https://github.com/balthild/dotfiles .dotfiles
cd .dotfiles

Create ~/.dotfiles/.dotter/local.toml and specify the packages to be deployed:

# macOS
includes = [".dotter/macos.toml"]
packages = ["default"]
# Windows
includes = [".dotter/windows.toml"]
packages = ["default"]

Confirm what will be deployed:

dotter deploy --dry-run
# or shorter
dotter deploy -d

Deploy:

dotter deploy

Packages

Nix

Requires nix-darwin.

Search packages:

nix search nixpkgs elvish

Apply configurations:

darwin-rebuild switch

WSL

ArchWSL

Shell

Requires elvish, starship, and carapace.

# Windows
scoop install elvish starship carapace-bin

Rime

Requires rime-ice.

bash rime-install iDvel/rime-ice:others/recipes/full

Weasel 0.11+ has plum (rime-install) out of the box, located at 「输入法设定」 — 「获取更多输入方案」. After bootstrapping:

cd ~/AppData/Roaming/plum
./rime-install iDvel/rime-ice:others/recipes/full