Personal NixOS and macOS (nix-darwin) configuration. Most of the config files work on other distros too.
Primary remote is Codeberg (axseem/dots); GitHub mirror: axseem/dots.
hosts/: Host-specific configurationsdarwin/: macOS hosts (e.g.,macbook)nixos/: NixOS hosts (e.g.,ideapad)
modules/: Modules composed into the hosts; each host imports whole directories throughnix/import-tree.nixcommon/: Shared modules for both NixOS and Darwin (fonts, nix settings)darwin/: macOS-specific modules (homebrew, system, dev-tools)nixos/: NixOS-specific modules (desktop, hardware, security, services, system)home/: Home Manager modulescommon/: Cross-platform (cli, fish, git, tmux, vscodium)linux/: Linux-specific (apps, media, ui, xdg)
config/: Dotfiles symlinked via Home Manager (fish, ghostty, hypr, rofi, etc.)nix/: Devshell configuration and the module import helper
Enter the repository environment explicitly with nix develop. The repository
does not use .envrc because direnv evaluates that file with Bash.
The flake publishes only the host configurations and dev tooling; the modules are internal and are not a reusable module API.
git clone https://codeberg.org/axseem/dots.git
cd dots
sudo nixos-rebuild switch --flake .#ideapadgit clone https://codeberg.org/axseem/dots.git
cd dots
darwin-rebuild switch --flake .#macbook