nix-community/disko
Declarative disk partitioning and formatting using nix [maintainers=@Lassulus @Enzime @iFreilicht @Mic92 @phaer] observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 32
- age_days: 2769
- days_rel: 225
- days_push: 10
- n_releases_24m: 8
Adoption not part of the score
3284 stars · 326 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
disko is a declarative disk partitioning and formatting tool for NixOS that lets you define disks, partitions, filesystems, and mount points as Nix configuration. It automates installation-time disk setup, supports disk image creation, and integrates with nixos-anywhere and disko-install.
Use cases
- declaratively partition and format disks during NixOS installation
- set up unattended or automated NixOS installations
- rebuild identical disk layouts across multiple servers
- recover and re-provision disks after a system crash
- create bootable NixOS disk images from configuration
- remotely install NixOS with nixos-anywhere and disko
- configure LUKS encryption, LVM, ZFS, or btrfs layouts as code
When to choose
- you use NixOS and want disk setup described in code alongside the rest of your configuration
- you need reproducible, unattended installations or identical server provisioning
- you want to generate disk images declaratively
When to avoid
- you are not using NixOS or the Nix ecosystem
- you need a general-purpose interactive partitioning tool like fdisk or GParted
- you only need a one-off manual disk format
Facets
cli-tool · maturity active
infrastructure-as-code cli configuration-management deployment infrastructure-as-code operating-systems self-hosted cli nixos disk-partitioning declarative filesystems luks zfs btrfs disk-images unattended-installation devops automation linux nix
1 source
- readme: https://github.com/nix-community/disko · fetched 2026-08-28 · f06e1eb37877
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nix-community/disko | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="nix-community/disko")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem