一键导入
installation
Step-by-step installation guide for Nix and dotfiles setup including nix.conf configuration, channel updates, home-manager, and nix-darwin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Step-by-step installation guide for Nix and dotfiles setup including nix.conf configuration, channel updates, home-manager, and nix-darwin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
スキルのプロンプト品質を評価・チューニングする。スキルを書いたあと別のサブエージェントに実行させ、不明瞭点・自動補完箇所・達成率をレポートさせて反復改善する。Use when you want to evaluate or tune a SKILL.md prompt quality. Ref: https://zenn.dev/mizchi/articles/empirical-prompt-tuning
Generate professional English commit messages with gitmoji based on git diff. Use when creating commit messages, analyzing staged changes, or formatting commits according to conventional commits + gitmoji style.
Generate professional English commit messages with gitmoji based on git diff. Use when creating commit messages, analyzing staged changes, or formatting commits according to conventional commits + gitmoji style.
NPM tools and package management using mise including commitizen, cz-git, and global package configuration
System services configuration guide including AeroSpace, JankyBorders, and AltTab on macOS
Synchronize documentation and skills with codebase changes. Analyzes recent git changes and suggests updates to README, CLAUDE.md, and skills to keep documentation in sync.
| name | installation |
| description | Step-by-step installation guide for Nix and dotfiles setup including nix.conf configuration, channel updates, home-manager, and nix-darwin |
This guide covers installation for both macOS (using nix-darwin) and NixOS.
macOS Installation:
NixOS Installation:
cd ~
mkdir -p git_repos/github.com/barleytea
cd git_repos/github.com/barleytea
git clone https://github.com/barleytea/dotfiles.git
mkdir -p "$HOME/.config/nix"
echo 'experimental-features = nix-command flakes' > "$HOME/.config/nix/nix.conf"
echo 'use-xdg-base-directories = true' >> "$HOME/.config/nix/nix.conf"
echo 'warn-dirty = false' >> "$HOME/.config/nix/nix.conf"
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
sudo vi /etc/nix/nix.conf
extra-trusted-users = miyoshi_s
use-xdg-base-directories = true
Determinate Systems の Nix は modern launchd で管理されるため、kickstart を使う(unload/load は非対応)。
sudo launchctl kickstart -k system/systems.determinate.nix-daemon
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
cd ~/git_repos/github.com/barleytea/dotfiles/darwin
nix flake update
nix run nixpkgs#home-manager -- switch --flake .#home --impure
zsh
cd ~/git_repos/github.com/barleytea/dotfiles
make nix-darwin-apply
For NixOS systems, the installation process is different as NixOS manages the entire system configuration.
cd ~
mkdir -p git_repos/github.com/barleytea
cd git_repos/github.com/barleytea
git clone https://github.com/barleytea/dotfiles.git
mkdir -p "$HOME/.config/nix"
echo 'experimental-features = nix-command flakes' > "$HOME/.config/nix/nix.conf"
echo 'use-xdg-base-directories = true' >> "$HOME/.config/nix/nix.conf"
echo 'warn-dirty = false' >> "$HOME/.config/nix/nix.conf"
cd ~/git_repos/github.com/barleytea/dotfiles/nixos
sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix
Edit nixos/configuration.nix and nixos/flake.nix to match your system.
cd ~/git_repos/github.com/barleytea/dotfiles
sudo nixos-rebuild switch --flake ./nixos#desktop
This command applies both system and home-manager configurations.
sudo reboot