Skip to content

Repository files navigation

❄️ NixOS Nix-Darwin NixOS

Dendritic Pattern Flake Parts Import Tree Home Manager SOPS

Personal NixOS and nix-darwin configuration using a dendritic module layout with flake-parts.

Install

NixOS:

curl -fsSL nix.fbb.sh/install | bash

macOS:

  1. Install Determinate Nix for macOS and Homebrew.
  2. Clone this repository and run from it:
nix --accept-flake-config run --inputs-from . nix-darwin -- switch --flake .#<host>

Troubleshooting


Build

nh os switch          # Build and switch
nh os test            # Test without switching
nh os rollback        # Rollback to previous build
nh os switch --update # Update and rebuild

Tasks

just                  # List all available recipes
# featured
just lint             # Run linter suite
just fmt              # Format files
just build-images     # Build all custom container images
just update-sops-keys # Re-encrypt secrets with current recipients
just update-avatar    # Update GitHub avatar hash in flake metadata

Dotfiles

Dotfiles are managed via Home Manager + GNU Stow. https://github.com/fbosch/dotfiles

Credits

About

❄️ Modular Nix configuration using dendritic pattern with flake-parts

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages