This repository contains my personal NixOS configuration, primarily targeting Apple Silicon via Asahi Linux. Home Manager is integrated into NixOS builds.
—
- Clone the repository
git clone https://github.com/SailorSnow/nixos-config.git
cd nixos-config- Rebuild the system (Asahi host)
sudo nixos-rebuild switch --flake .#asahiOptional: Home Manager only (ad‑hoc)
home-manager switch --flake .#snow@asahi—
- Evaluate/check flake:
nix flake check
- Build system closure (dry):
nix build .#nixosConfigurations.asahi.config.system.build.toplevel - Update inputs:
nix flake update
—
asahi: Asahi Linux on Apple Silicon (daily driver)
—
flake.nix/flake.lock: Flake entry and locked inputshosts/asahi/: Host configuration (imports Apple Silicon support)common/: Shared host glue (boot.nix,locale.nix,desktop.nix,users.nix)
home-manager/: User config and assets; applied via system rebuildsmodules/modules/nixos/: Reusable NixOS modules (e.g.,netdata.nix,minecraft-server-*.nix)modules/home-manager/: Reusable HM modules (e.g.,zsh.nix,neovim/,gui/)
overlays/: Overlays including anunstablepackage setpkgs/: Custom packages (e.g.,tentrackule)dotfiles/: Misc dotfiles not managed as HM modules
—
- Wayland compositor: Niri (via
services.greetdsession) - Stylix for theming and fonts
- Podman (Docker‑compat) enabled with DNS for compose
- Bluetooth via BlueZ + Blueman
- Home Manager modules for Zsh, Neovim (nixCats), GUI apps (Firefox, Ghostty, etc.)
—
This is a personal setup tuned for my hardware and workflow. Feel free to explore and adapt it.