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.nix rather 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

  • Why I Use NixOS
    · 6 min read

    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 …

    #NixOS
  • Announcing the new Golang infrastructure: buildGoModule
    · 4 min read

    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 …

    #NixOS
  • CDC: Why Decompression is Worth the Complexity
    7 min read

    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 …

    #NixOS
  • Content-Defined Chunking (CDC) Results for NAR Storage
    2 min read

    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 …

    #NixOS
  • Install ArchLinux from within NixOS
    5 min read

    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
  • Install Debian or Ubuntu from within NixOS
    4 min read

    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
  • NixOS - ZFS - No space left on device
    1 min read

    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 …

    #NixOS