- Nix 100%
| hosts | ||
| modules | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
hyperpastel's NixOS Configuration
Caution
These are my personal files, tuned specifically for my own hardware and workflow. This setup won't work on your machine without modification.
This repository houses my NixOS configuration. It is flake-based and utilizes impermanence to further explore reproducibility.
While only fitted for my Dell Inspiron Laptop at the moment, this might be extended to support multiple systems later on.
🧱 Structure
📁 modules
This folder contains all the configuration for the system, organized into modular .nix files, grouped by functionality.
A few selected 'highlights' among these include:
❄️ boot.nix and ❄️ persistence.nix
These two files realize the impermanent aspect of the system. On every boot, the /root partition is reset to a blank state that was recorded after the initial installation.
Important files that need to survive this (primarily file in /etc/) are either:
- Symlinked from a separate
/persistpartition - or created through Nix itself and symlinked from the Nix Store
📚 References
- Impermanence
- Encrypted Btrfs Root with Opt-in State on NixOS by mt-caret
- Erase your darlings by Graham Christensen