NixOS/NixOS-WSL/nix-darwin configuration using Nix Flakes and flake-parts, mirrored from https://github.com/moni-dz/nix-config
Files
README.md

NixOS configuration #

NixOS

check

Description #

NixOS/nix-darwin/hjem configuration that I use daily.

See also:

Resources and configurations I used to base on:

Directory Map #

hosts/       per-machine configs (hands: NixOS, riscake: nix-darwin)
modules/     custom modules (common, nixos, darwin, hjem)
profiles/    reusable config shared between hosts (nix settings, hjem programs)
packages/    overlays and custom packages (flake partition)
dev/         dev tooling: treefmt (flake partition)
secrets/     agenix-rekey secrets (`agenix` in the dev shell), with per-host copies in `rekeyed/`

Why flakes? #

jonringer gave a brief explanation as to why one might want to use Nix flakes.

Why flake-parts? #

flake-parts allow reusable configuration powered by the module system everyone knows and loves.

See my system configurations, which build each system directly with withSystem.