ryoppippi/dotfiles
Acerca de
ryoppippi's dotfiles
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originaldotfiles
ryoppippi's dotfiles, managed as a Nix flake: nix-darwin plus Home Manager on macOS, standalone Home Manager on Linux.
Layout
flake.nix— inputs only; the outputs are flake-parts modules undernix/flake/nix/flake/— flake-parts modules:apps/,hosts/,formatter.nix,pkgs.nixnix/mk-pkgs.nix— the overlaid nixpkgs instance shared byperSystemand the hostsnix/modules/home/— cross-platform Home Manager modules (packages, programs, dotfile symlinks)nix/modules/darwin/— macOS system settings, Homebrew, OmniWMnix/modules/linux/— Linux-only modulesnix/overlays/— custom packages, also exposed as flakepackagesfish/,nvim/,karabiner/— plain config, symlinked or generated into place by Home Manageragents/AGENTS.md,agents/shared/,agents/skills/— global instructions, their fragments, and skills shared by Claude Code and Codexregistry/sources/— pinned external skill repositories
Setup
Installing Nix is the one manual step, because everything after it is a Nix command. The same installer covers macOS and Linux:
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install --enable-flakes
Then one command does the rest, on both platforms:
nix run --accept-flake-config github:ryoppippi/dotfiles
It fetches this repository with ghq into ~/ghq/github.com/ryoppippi/dotfiles
— the path the modules symlink the live fish, zsh and Neovim configuration out
of, and the ghq root the configuration goes on to set — then runs that
checkout's own nix run .#switch, so everything is applied from a tree that can
be edited afterwards rather than from the store. On macOS it first offers to
open the App Store, since masApps needs an account signed in, and accepts the
Xcode licence when full Xcode is present. On Linux there is nothing to do before
the switch, which runs Home Manager as the user.
--accept-flake-config is what lets the binary caches in nixConfig be used
without a prompt for each one.
Afterwards, exec fish picks up the new shell.
Applying later changes
From inside the checkout:
git add <changed paths> && nix run .#switch
Nix flakes only see tracked, staged files, so stage what changed before switching.
GitHub API rate limit
If Nix hits the GitHub API rate limit, load a token into GITHUB_TOKEN from a
credential helper or password manager, then retry. Never paste the token into
the command line or commit it.
NIX_CONFIG="access-tokens = github.com=$GITHUB_TOKEN" \
nix --accept-flake-config run .#switch
Daily Usage
Flakes only see tracked, staged files, so git add changed paths before switching.
| Command | What it does |
|---|---|
nix run .#switch |
Build and apply the darwin (macOS) or Home Manager (Linux) config |
nix run .#build |
Build without applying |
nix run .#fmt |
Run treefmt (-- --fail-on-change is what CI runs) |
nix run .#update |
Update every flake input |
nix run .#update-ai-tools |
Update only the llm-agents input |
nix run .#skills-sources-lock |
Re-resolve the external skill pins in registry/sources/ |
nix run .#nvim-lock |
Pin new Neovim plugins with nvimx (-- --update moves them all) |
Scheduled GitHub Actions open PRs for flake inputs, overlays, and skill pins.
Window Management
See the OmniWM configuration and keyboard workflow.
Stats
Explorar proyectos relacionados
Cargando…