Skip to content

patlux/nixos-config

Repository files navigation

nixos-config

Reusable public NixOS/nix-darwin base modules.

Real machines are intentionally not listed here. They live in the private sibling flake:

~/.config/nixos-private

Layout

  • flake.nix — public helper functions, reusable module exports, and example outputs
  • home/modules/ — reusable Home Manager modules
  • home/files/ — static dotfiles used by home modules
  • modules/ — reusable NixOS/nix-darwin system modules
  • profiles/home/ — reusable Home Manager profiles
  • examples/ — neutral buildable examples

Public checks

make fmt
make lint
make check

Switching real hosts

Use the private flake, one entrypoint per host:

cd ~/.config/nixos-private
make switch NIXNAME=<host>

Or directly:

sudo darwin-rebuild switch --flake ~/.config/nixos-private#<host>

The public repo stays client-blind; private host names, client git identities, workspaces, backup endpoints, and work-specific packages stay in nixos-private.

About

NixOS & nix-darwin configurations — macOS, NixOS, and standalone home-manager managed with flakes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors