Skip to content

Latest commit

 

History

235 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

macOS Home Manager dotfiles for aarch64-darwin.

  • Home Manager for user environment management
  • flake-parts as the top-level flake composition layer
  • nvf for Neovim configuration and standalone .#neovim
  • Ghostty, Zsh, Gruvbox, MonoLisa

Layout

  • flake.nix: entrypoint only; declares inputs and imports the top-level module
  • home.nix: top-level flake-parts module; defines dotfiles.*, assembles profiles, exports homeConfigurations
  • modules/: shared dendritic feature modules; each file contributes one concern
  • profiles/: profile declarations and per-profile Home Manager deltas

Profiles

  • personal with alias al

home-manager switch --flake . resolves via the alias on each machine. The explicit form .#personal remains available.

Machine-specific profiles that do not belong in a public repository live in their own flake, which imports this one as a module:

inputs.dotfiles.url = "github:alDuncanson/dotfiles";

imports = [ inputs.dotfiles.flakeModules.default ./profiles/<name>.nix ];

Commands

# format all Nix files via the flake formatter
nix fmt

# run the standard repo checks
nix flake check

# inspect exports
nix flake show --all-systems

# evaluate profiles
nix eval .#homeConfigurations.personal.activationPackage.drvPath

# build profiles without switching
nix run home-manager -- build --flake .#personal

# apply the current machine profile
nix run home-manager -- switch --flake .

# run the exported Neovim app
nix run .#neovim
nix run .#neovim -- --headless '+qa!'

Bootstrap

nix shell nixpkgs#git -c git clone <repo-url> ~/.config/home-manager
cd ~/.config/home-manager
nix run home-manager -- switch --flake .

After bootstrap, updates are just git pull and nix run home-manager -- switch --flake ..

About

Portable macOS dotfiles managed with Home Manager and Nix, with a standalone nvf-powered Neovim config.

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages