Tag: NixOS
Documentation for declarative system management, reproducible builds, and the Nix package manager.
❄️ The Nix Philosophy Link to heading
- Declarative Configuration: Managing state via
configuration.nixrather than imperative commands. - Generations: Atomic upgrades and rollback capability.
📦 Ecosystem & Packages Link to heading
- Flakes: Managing hermetic dependencies and project-specific environments.
- Home Manager: Dotfile management and user-space configuration.
- Nixpkgs: Package overlays and custom derivations.
📚 External Resources Link to heading
- NixOS Manual - System configuration guide.
- Nix Package Search - Searchable index of nixpkgs options.
- Why I Use NixOS
This post highlights my reasoning behind switching to NixOS. This was originally posted as a Reddit comment. Linux/Unix History Please head over to read all about my Linux/Unix History. In a Gist: I have about 20 years …
- Announcing the new Golang infrastructure: buildGoModule
Important This guide was written on March 17th 2019 and thus is out of date! Please refer to Go section in the nixpkgs manual for a more up-to-date instructions! I recently introduced a new function in Nixpkgs named …
- CDC: Why Decompression is Worth the Complexity
When I started building ncps, a Nix cache protocol server, the fundamental question was: should we chunk compressed NARs or decompress first? Decompressing before chunking adds CPU cost and complexity. Compressing …
- Content-Defined Chunking (CDC) Results for NAR Storage
I’ve been benchmarking Content-Defined Chunking (CDC) to optimize storage for our NAR files. The goal was to maximize deduplication by decompressing the source NARs before chunking, then re-compressing the unique chunks …
- Install ArchLinux from within NixOS
Introduction Note This is more of a journal entry (of a self-challenge) than a guide. I call my device Hercules and my ZFS pool is named olympus. If you decide to follow this guide, make sure to reference the sources at …
- Install Debian or Ubuntu from within NixOS
Introduction Note This is more of a journal entry (of a self-challenge) than a guide. I call my device Hercules and my ZFS pool is named olympus. If you decide to follow this guide, make sure to reference the sources at …
- NixOS - ZFS - No space left on device
Problem My system ran out of space, and I am unable to run sudo nix-collect-garbage -d. ❯ sudo nix-collect-garbage -d removing old generations of profile /nix/var/nix/profiles/per-user/root/channels error: opening lock …