No description
  • Shell 59.3%
  • Lua 22.5%
  • Nix 15.1%
  • Vim Script 3.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-30 09:32:51 +01:00
.claude chore(cloudsync): remove rclone bisync job 2026-11-24 19:46:51 +01:00
config chore(claude): set default effort to high 2026-11-30 09:32:51 +01:00
darwin feat(darwin): add OpenCloud cask 2026-11-24 19:46:51 +01:00
hosts chore(cloudsync): remove rclone bisync job 2026-11-24 19:46:51 +01:00
lib feat(darwin): add nyx nix-darwin configuration 2026-11-18 14:22:55 +01:00
modules chore(cloudsync): remove rclone bisync job 2026-11-24 19:46:51 +01:00
roles feat(claude): split work instructions and share with opencode 2026-11-24 09:23:01 +01:00
.gitignore chore(zed): ignore prompts library database 2026-11-21 19:17:59 +01:00
AGENTS.md feat(claude): add claude to this repo 2026-08-20 21:42:31 +02:00
flake.lock chore(flake): update inputs 2026-11-24 09:26:59 +01:00
flake.nix feat(claude): split work instructions and share with opencode 2026-11-24 09:23:01 +01:00
README.md chore(cloudsync): remove rclone bisync job 2026-11-24 19:46:51 +01:00
stylua.toml feat(nix): add home-manager flake 2026-11-14 16:51:16 +01:00

dotfiles

Nix flake: Home Manager on Linux (Arch, Fedora, Debian), nix-darwin + Home Manager on macOS.

Bootstrap

Debian only, first: sudo apt install zsh gcc.

# Nix (upstream, with an uninstaller: /nix/nix-installer uninstall)
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install --enable-flakes

# Private machine
git clone git@code.neffi.fr:Neffi42/dotfiles.git ~/dotfiles
# Public machine
git clone https://code.neffi.fr/Neffi42/dotfiles.git ~/dotfiles

# First switch (nh takes over afterwards). Quote the flake reference: zsh globs on '#'.
# Linux
nix run home-manager/master -- switch -b backup --flake "$HOME/dotfiles#$USER@$(hostname)"
# macOS (nix-darwin, Home Manager included)
sudo nix run "nix-darwin/master#darwin-rebuild" -- switch --flake "$HOME/dotfiles#nyx"

A new Linux host needs an entry in flake.nix, a hosts/<hostname>.nix, and its ~/.ssh/id_neffi.pub in lib/identity.nix.

Daily use

fresh          # pull, switch, upgrade distro packages (Homebrew on macOS) and flatpaks
fresh --bump   # same, after updating flake.lock; commits and pushes the lock if the switch worked
nh home switch # apply local changes to the repo (nh darwin switch on macOS)